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!

How to get active / current model name with python in abaqus 1

Status
Not open for further replies.

n3l3

Mechanical
Joined
Dec 28, 2010
Messages
69
Location
ES
Hi

I have been a while searching for that but didnt get to any conclusion,
i just wanna know how to get the active model name.

something like
vps = session.viewports.values()[0]
x = vps.displayedObject.name <<<< Model name instead of the object!
print x

Many thanks!
n3l3[bigsmile]
 
Paste this in the /CAE command line interpreter and see the output:

vps = session.viewports.values()[0]
x = vps.displayedObject
print x


You should find 'modelName' within the suboptions.
 
Thanks a lot Mustaine3, that got me to the solution

[thumbsup2]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top