Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

python scripting

Status
Not open for further replies.

alan14

Mechanical
Feb 26, 2006
13
0
0
DE
hi all,

I am trying to run a python script from the command prompt without opening abaqus cae. I am using now the command :

abaqus cae nogui=name.py

i am getting the following error, eventhough the script works just fine when i run it from cae.

AttributeError: 'Model' object has no attribute 'HomogeneousSolidSection'
File "shelf.py", line 39, in ?
shelf_mod.HomogeneousSolidSection(name='steel',material='steel',thickne
ss=10)


is there any other command to use or what?

thanks

 
Replies continue below

Recommended for you

i used now "import section" and it works

thanks a lot xerf.

why i had to use it .. i thought "from abaqus import * " will import all needed modules.

 
Status
Not open for further replies.
Back
Top