mj345
Mechanical
- Jan 9, 2019
- 81
Hello All,
I am learning Python script in Abaqus. I want to get all the part names from an active/open Abaqus model.
Can anybody add the script needed for it. I would appreciate all your help.
Parts.py
vps = session.viewports.values()[0]
y = vps.displayedObject.name
print y
its giving only one part name,but want all the parts names.
Kind regards,
mj345
I am learning Python script in Abaqus. I want to get all the part names from an active/open Abaqus model.
Can anybody add the script needed for it. I would appreciate all your help.
Parts.py
vps = session.viewports.values()[0]
y = vps.displayedObject.name
print y
its giving only one part name,but want all the parts names.
Kind regards,
mj345