poISystem GetOrientation

Gets the orientation of the coordinate system.

Syntax

system_handle GetOrientation

Application

HyperView Tcl Query

Description

This command returns the orientation of the coordinate system. The orientation string returned by this command contains nine values (three direction cosines are needed for defining each axes of the system).

Example

To get the orientation of the coordinate system:
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 GetUserDefinedSystemHandle sys1 "UserSystem 2"
set orient [sys1 GetOrientation]
hwi CloseStack

Errors

Returns a non-zero value if there is an error.