copy_design_from#
- Mechanical.copy_design_from(project, design, save_project=True, set_active_design=True)[source]#
Copy a design from a project into the active project.
- Parameters:
- project
str
Full path and name for the project containing the design to copy. The active design is maintained.
- design
str
Name of the design to copy into the active design. If a design with this name is already present in the destination project, AEDT automatically changes the name.
- save_projectbool,
optional
Save the project after the design has been copied. Default value is True.
- set_active_designbool,
optional
Set the design active after it has been copied. Default value is True.
- project
- Returns:
str
Name of the copied design name when successful or
None
when failed. Failure is generally a result of the name specified fordesign_name
not existing in the project specified forproject_fullname
.
References
>>> oProject.CopyDesign >>> oProject.Paste