duplicate_design

Mechanical.duplicate_design(label)

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
labelstr

Name of the design to copy.

Returns
bool

True when successful, False when failed.

References

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