Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TugboatEng on being selected by the Eng-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
Joined
Feb 26, 2006
Messages
13
Location
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

 
Did you use
"import section" ?
 
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.

Part and Inventory Search

Sponsor

Back
Top