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 cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Abaqus scripting

Status
Not open for further replies.

harshacamso

Mechanical
Joined
Oct 2, 2019
Messages
3
Location
BE
Hi,

I am anew user for abaqus scripting. I created a set in Cae file. then I opened rpy file. it is,
elements1 = e1.getSequenceFromMask(mask=('[#0:53 #8000000 ]', ), )
a.Set(elements=elements1, name='Set-3')
this, (mask=('[#0:53 #8000000 ] command is very difficult to understand. I checked in user manual. but it did not helped me a lot. infact I need to create sets for all elements by reading element's label. how do I replace this " FromMask(mask=('[#0:53 #8000000 ]" part with element label.

thank you
 
The reporting with these hashes is the default, because of performance reasons. But you can change that. Enter/paste the two command below into the A/CAE CLI and the reporting will be done with the index method during the session. So the IDs of the objects is used.

session.journalOptions.replayGeometry
session.journalOptions.setValues(replayGeometry=INDEX)


You can also add these two commands into an Abaqus environment file, to have them executed automatically at every start of Abaqus/CAE.

Code:
def onCaeStartup():
    session.journalOptions.replayGeometry
    session.journalOptions.setValues(replayGeometry=INDEX)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top