poI3DViewCtrl GetUpOrientationMethod

Gets the orientation method of the camera top position.

Syntax

viewControl_handle GetUpOrientationMethod name

Application

HyperView Tcl Query

Description

Returns the orientation method used to define 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

To get the orientation method defined for a view named "View 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 GetViewControlHandle view_handle
set orient_method [view_handle GetUpOrientationMethod "View 1"]
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.