Selecting individual face of a component in imported assembly #4954
-
I have an assembly which is imported using pyAEDT, as one of my component is inclined i need to create new coordinate system on its face and assign material properties for the same. In order to do that using script i have to call individual face names separately. Is there a way where in i can find face names of imported component using script? |
Beta Was this translation helpful? Give feedback.
Answered by
fwlfHS
Jul 26, 2024
Replies: 1 comment
-
Do you know the names of the objects that have been imported? |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
lorenzovecchietti
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Do you know the names of the objects that have been imported?
If so you can use
obj = hfss.modeler.get_object_from_name('my_object')
and get access to the face ids of the object byobj.faces