poIComponent GetAssemblyID

Gets the assembly ID of a component.

Syntax

poIComponent_handle GetAssemblyID

Application

HyperView Tcl Query

Description

This command returns the assembly ID of a component.

Example

To get the assembly ID of a component:
hwi GetSessionHandle mySessionName
mySessionName GetProjectHandle myProjectName
set pageIndex [myProjectName GetActivePage]
myProjectName GetPageHandle myPageName $pageIndex
set windowIndex [myPageName GetActiveWindow] 	
myPageName GetWindowHandle myWindowName $windowIndex	
myWindowName GetClientHandle myPostName
set modelIndex [myPostName GetActiveModel]
myPostName GetModelHandle myModelName $modelIndex	
myModelName GetComponentHandle myComponentName 1
myComponentName GetAssemblyID

Error

Returns the assembly ID of the component, or an error code (HW_InvalidHandle) if the handle used to invoke the method is no longer valid.