copy_design_from#

Q3d.copy_design_from(project, design, save_project=True, set_active_design=True)[source]#

Copy a design from a project into the active project.

Parameters:
projectstr

Full path and name for the project containing the design to copy. The active design is maintained.

designstr

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.

Returns:
str

Name of the copied design name when successful or None when failed. Failure is generally a result of the name specified for design_name not existing in the project specified for project_fullname.

References

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