poIAssembly GetSubAssemblyIteratorHandle

Gets an iterator handle used to cycle through all of the sub-assemblies of an assembly.

Syntax

assem_handle GetSubAssemblyIteratorHandlehandle

Application

HyperView Tcl Query

Description

This command retrieves an iterator handle used to cycle through all of the sub-assemblies of an assembly.

Example

To get the sub-assembly iterator handle of an assembly with an ID of 3:
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 GetAssemblyHandle assem_handle 3
assem_handle GetSubAssemblyIteratorHandle subassm_handle

hwi CloseStack

Error

Returns an error string if unsuccessful.