PyAEDT method/s for copying over objects! #3818
-
Hi, I wish to copy all objects (solids, sheets including RLC boundaries, and ports) from one HFSS design of one project to a design (active design) of another project (active project). Or, alternatively, from other designs of the same project to the active design. What will be the suitable PyAEDT method or sequence of methods/steps to achieve this? Thank you in advance. Regards |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 9 replies
-
If you want to copy a design into a new project, you can use this method: https://aedt.docs.pyansys.com/version/stable/API/_autosummary/pyaedt.hfss.Hfss.copy_design_from.html Or only the objects: If you want something more advanced, you will need to loop all objects, PyAEDT has all the methods needed to tackle this Automation. Thanks |
Beta Was this translation helpful? Give feedback.
@Abhi-SimuTech
If you want to copy a design into a new project, you can use this method:
https://aedt.docs.pyansys.com/version/stable/API/_autosummary/pyaedt.hfss.Hfss.copy_design_from.html
Or only the objects:
https://aedt.docs.pyansys.com/version/stable/API/_autosummary/pyaedt.hfss.Hfss.copy_solid_bodies_from.html
If you want something more advanced, you will need to loop all objects, PyAEDT has all the methods needed to tackle this Automation.
Thanks