How to get active / current model name with python in abaqus
How to get active / current model name with python in abaqus
(OP)
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
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





RE: How to get active / current model name with python in abaqus
vps = session.viewports.values()[0]
x = vps.displayedObject
print x
You should find 'modelName' within the suboptions.
RE: How to get active / current model name with python in abaqus