poIComponent GetTranslation
Gets the translation vector in the global coordinate system.
Syntax
poIComponent_handle GetTranslation
Application
HyperView Tcl Modify
Description
This command returns the translation vector in the global coordinate system.
Example
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 GetTranslation
Error
Returns the translation vector if successful, or an error code (HW_InvalidHandle) if the handle used to invoke the method is no longer valid.