poIPartSet GetPartAssemblyList

Gets the list of IDs for the part assemblies that belong to a part set in the part hierarchy.

Syntax

poIPartSet_handle GetPartAssemblyList

Application

HyperView Tcl Query

Description

This command retrieves the list IDs for the part assemblies that belong to a part set in the part hierarchy. An empty list is returned if there are no part assemblies in the part set.

Example

To get the part assembly 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 GetPartAssemblyList
hwi CloseStack

Errors

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