poIRenderOptions GetPerspectiveMode

Gets the current view mode.

Syntax

poIRenderOptions_handle GetPerspectiveMode

Application

HyperView Tcl Query

Description

This command returns the current view mode: true for perspective, or false for orthographic.

Example

To get the current view mode:
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 GetRenderOptionsHandle render_options
render_options GetPerspectiveMode
hwi CloseStack

Errors

Returns a value of "3" if the handle is invalid.