GetChildObject [Design]

Returns the design's child objects.

UI Access N/A
Parameters
Name Type Description
<path> String The path may include multiple generations (for example, "designObject/moduleObj/SetupObject"). See: Object Path.
Return Value A child object if one is found. Otherwise script error.

 

Python Syntax GetChildObject(<path>)
Python Example

oDesign = oProject.GetActiveDesign()

oOptimModule = oDesign.GetChildObject("Optimetrics")

oEditor = oDesign.GetChildObject("3D Model")

oBox = oDesign.GetChildObject("3D Model/Box1")

oRpt = oDesign.GetChildObject("Results/S Parameter Plot 1")

oVariable= oDesign.GetChildObject("Offset")