Eng-Tips is the largest forum for Engineering Professionals on the Internet.

Members share and learn making Eng-Tips Forums the best source of engineering information on the Internet!

  • Congratulations JStephen 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
Joined
Feb 25, 2017
Messages
1
Location
IR
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

Back
Top