GetParentDesign

Use: Returns an interface to the compInstance's parent design.

Command: None

Syntax: GetParentDesign()

Return Value: Returns interface to design.

Example: Set oDesign2 = CompInstance.GetParentDesign();

Returns the interface to the design containing the compInstance.

This interface can be used to call Design functions. See: Design Object Script Commands.

 

Python Syntax GetParentDesign()
Python Example

oDesign2 = CompInstance.GetParentDesign()