duplicate_design#

Icepak.duplicate_design(name, save_after_duplicate=True)[source]#

Copy a design to a new name.

The new name consists of the original design name plus a suffix of MMode and a running index as necessary to allow for multiple calls.

Parameters:
namestr

Name of the design to copy.

save_after_duplicatebool, optional

Save project after the duplication is completed. If False, pyaedt objects like boundaries will not be available.

Returns:
bool

True when successful, False when failed.

References

>>> oProject.CopyDesign
>>> oProject.Paste