poIModel GetPartAssemblyList

Gets the list of part assembly IDs in the model.

Syntax

poIModel_handle GetPartAssemblyList

Application

HyperView Tcl Query

Description

This command retrieves a list of part assembly IDs in the model.

Example

To get the list of part assembly IDs for the current model:
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 GetPartAssemblyList
hwi CloseStack

Errors

Returns HW_InvalidHandle (3) if the model handle is invalid.