poIAssembly GetPartIteratorHandle

Gets an iterator handle used to cycle through all of the parts of an assembly.

Syntax

assem_handle GetPartIteratorHandle handle

Application

HyperView Tcl Query

Description

This command retrieves an iterator handle used to cycle through all of the parts of an assembly.

Inputs

handle
The name of the handle.

Example

To get the part 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 GetPartIteratorHandle part_iter_handle

hwi CloseStack

Error

Returns an error string if unsuccessful.