poI3DViewCtrl SetUpOrientationMethod

Sets the orientation method of the camera top position.

Syntax

viewControl_handle SetUpOrientationMethod type name

Application

HyperView Tcl Modify

Description

Sets the orientation method of the camera top position.

Inputs

type
Any of the following seven values can be used: x-up/x-down/y-up/y-down/z-up/z-down/vector.
name
String specifying the name of the view to be modified. The current view will be modified if a name is not specified.

Example

To set the orientation method of a view named "View 1" to positive global x-axis:
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
view_handle SetUpOrientationMethod “x-up” “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.