poISystem SetOrientation

Sets the orientation of the coordinate system.


system_handle SetOrientation orient_st


HyperView Tcl Modify


This command sets the orientation of the coordinate system. The orientation can be set for user-defined systems only! The orientation string must contain nine values (three direction cosines are needed for defining each axes of the system).


The orientation string representing the direction cosines of the axes of the system.


To set the orientation of a user-defined 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"
# Align a system so that it has the same orientation as the global axes
sys1 SetOrientation "1 0 0 0 1 0 0 0 1"

hwi CloseStack


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