PasteDesign (Design Object)

Pastes a design that has already been copied to the clipboard into another design.

UI Access Edit > Paste.
Parameters
Name Type Description

<pasteOption>

Integer

One of the following:

  • 0 – Link to the existing design that was copied
  • 1 – Create a new copy of the design and keep the original layers of the design being copied
  • 2 – Create a new copy of the design and merge the layers of the design being copied.
Return Value None.

Python Syntax

PasteDesign(<pasteOption>)

Python Example

oProject.CopyDesign('DesignB')

oDesign = oProject.SetActiveDesign('DesignA')

oDesign.PasteDesign(1)