How can I obtain the coordinates for the bounding box of a model (min and max positions of a model)? #4305
-
I have imported a tzr model to Icepak AEDT. I need a script to obtain it's bounding box coordinates to be used to create a new box based on that. |
Beta Was this translation helpful? Give feedback.
Answered by
Samuelopez-ansys
Mar 4, 2024
Replies: 1 comment
-
@mjmashayekhi Just doing: app = pyaedt.Icepak() design_bounding_box = app.modeler.obounding_box If you have multiple objects, you can navigate object by object and get this information: |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
mjmashayekhi
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@mjmashayekhi Just doing:
app = pyaedt.Icepak()
design_bounding_box = app.modeler.obounding_box
If you have multiple objects, you can navigate object by object and get this information: