poITrackingSystem SetUseGlobalCoords
Sets the value of the "Align with global" option (On/Off).
Syntax
trackingsystem_handle SetUseGlobalCoords use_global_coords
Application
HyperView Tcl Modify
Description
This command sets the value of the "Align with global" option On/Off for a particular tracking system.
Example
To set the value of the "Align with global" option to "True" for tracking system whose ID
is
1:
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 GetTrackingSystemHandle tsys_handle 1
tsys_handle SetUseGlobalCoords true
hwi CloseStack
Errors
Returns a non-zero value.