poIPartSet GetChildPartSetList

Gets the list of IDs for the part sets that are children of a part set in the part hierarchy.

Syntax

poIPartSet_handle GetChildPartSetList

Application

HyperView Tcl Query

Description

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

Example

To get the child part set IDs for part set 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 GetPartSetHandle part_set_handle 1
part_set_handle GetChildPartSetList
hwi CloseStack

Errors

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