duplicate_design#
- Emit.duplicate_design(name: str, save_after_duplicate: bool = True) bool#
Copy a design to a new name.
The new name consists of the original design name plus a suffix of
MModeand a running index as necessary to allow for multiple calls.- Parameters:
- Returns:
- bool
Truewhen successful,Falsewhen failed.
References
>>> oProject.CopyDesign >>> oProject.Paste
Examples
>>> from ansys.aedt.core import Hfss >>> app = Hfss() >>> app.duplicate_design("HFSSDesignCopy")