Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

abaqus python script

Status
Not open for further replies.

nimaet

Mechanical
Feb 25, 2017
1
Hi,
I Have written a script to make a sequence of elements from an existing model data base. when I run the script from (File/run script)
abaqus shows an error:
AccessError : mdb no longer exists
but when I run the same code in "Kernel Command Line Interface" abaqus does not show any error
here is my code
mdb1 = openMdb(pathName = 'test1.cae')
mdb2 = openMdb(pathName = 'test1.cae')
element_set_mdb1 = mdb1.models['Model-1'].parts['Part-1'].elements.sequenceFromLabels(labels=element_labels_mdb1)
Can abaqus open two MDBs simultaneously?
does anyone have any idea?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor