poISystem SetOrientationByNodeMode

Sets the orientation mode for the coordinate system using three nodes.

Syntax

system_handle SetOrientationByNodeMode mode

Application

HyperView Tcl Modify

Description

This command sets the orientation mode for the coordinate system using three nodes. The orientation mode can be set only for the user defined systems. Mode can be set only for the rectangular system. The mode can be “x-xy”, “x-xz”, “y-yx”, “y-yz”, “z-zx”, “z-zy”. If the mode is not set, the default mode “x-xy” is assumed. In addition, the mode must set before setting the orientation.

Inputs

mode
The mode to be set.

Example

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”
sys1 SetOrientationByNodeMode “x-xz”
sys1 SetOrientationByNode “Node 100” “Node 200” “Node 300”

hwi CloseStack

Errors

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