GetChildNames [Modeler]
Returns the names of children for a specified input. For 3D Components and UDMs, these commands do not return parts, coordinate systems, plans, as top-level modeler children.
This command is not supported by the EMIT and Circuit design types.
| UI Access | N/A | ||||||
| Parameters |
|
||||||
| Return Value | Array containing object names in the selected category. |
| Python Syntax | GetChildNames(<category>) |
| Python Example |
Standalone Example: oEditor.GetChildNames("ModelParts") oEditor.GetChildNames("Points") Example used in Conjunction with GetChildObject and GetPropNames: oDesign = oProject.GetActiveDesign() oModel = oDesign.GetChildObject("3D Modeler") oModel.GetChildTypes()
oModel.GetChildNames("ModelParts")
oWGi = oModel.GetChildObject("WG_Interior")
oWGi.GetPropNames()
|