×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

abaqus python script

abaqus python script

abaqus python script

(OP)
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?

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources