poIPartAssembly GetChildPartAssemblyList

Gets the list of IDs for the part assemblies that are children of a part assembly in the part hierarchy.

Syntax

poIPartAssembly_handle GetChildPartAssemblyList

Application

HyperView Tcl Query

Description

This command retrieves the list IDs for the part assemblies that are children of a part assembly in the part hierarchy. An empty list is returned if there are no child part assemblies.

Example

To get the child assembly IDs for part assembly 1:
hwi OpenStack
hwi GetSessionHandle session_handle
session_handle GetProjectHandle project_handle
project_handle GetPageHandle page_handle [project_handle GetActivePage]
page_handle GetWindowHandle window_handle [page_handle GetActiveWindow]
window_handle GetClientHandle client_handle
client_handle GetModelHandle model_handle [client_handle GetActiveModel]
model_handle GetPartAssemblyHandle part_assembly_handle 1
part_assembly_handle GetChildPartAssemblyList
hwi CloseStack

Errors

Returns HW_InvalidHandle (3) if the part assembly handle is invalid.