Modifying existing objects through the HFSS API. #3508
-
Hello everyone, I'm new to pyaedt and I'm currently trying to use the HFSS API for my model optimization work. I would like to know how I can change the position and size of my existing objects through code. I would greatly appreciate any guidance you can provide. Thank you in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
@yxjhlxw , you can do it through the object history. For instance, if you have a Box called "Box1":
For the position, you can modify the properties or directly move the object. My suggestion is to create a parameter and control the size and position, but it is up to you. Regards |
Beta Was this translation helpful? Give feedback.
@yxjhlxw , you can do it through the object history. For instance, if you have a Box called "Box1":
For the position, you can modify the properties or directly move the object. My suggestion is to create a parameter and control the size and position, but it is up to you.
Regards