poI3DViewCtrl GetUpOrientationVector
Gets the orientation vector of the camera top position.
Syntax
viewControl_handle GetUpOrientationVectorname
Application
HyperView Tcl Query
Description
Returns the orientation vector of the camera top position.
Inputs
- name
- String specifying the name of the view to be queried. The current view will be queried if a name is not specified.
Example
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 GetViewControlHandle view_handle
set orient_vector [view_handle GetUpOrientationVector “View 1”]
# The above statement retrieves up the camera top orientation vector hwi CloseStack
Error
Returns HW_InvalidHandle if the view handle is invalid.
Returns HW_InvalidArgs if the named view does not exist or is an invalid type.