poIAssembly GetParentHandle

Gets a handle to the parent assembly.

Syntax

assem_handle GetParentHandlehandle

Application

HyperView Tcl Query

Description

This command retrieves a handle to the parent assembly.

Inputs

handle
The name of the handle.

Example

To get the parent 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 GetParentHandle par_handle

hwi CloseStack

Error

Returns an error string if unsuccessful.