poI3DViewCtrl GetOrtho

Returns the parameters describing the current view in the orthographic projection mode.

Syntax

viewControl_handle GetOrtho

Application

HyperView Tcl Query

Description

Returns the parameters which define the view when in the orthogonal projection mode. The returned values represent the min and max clipping planes for X, Y, and Z respectively.

Example

To get the orthographic projection parameters for the active window:
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
window_handle GetViewControlHandle viewctrl_handle
set ortho [viewctrl_handle GetOrtho]
puts "Ortho: $ortho"

hwi CloseStack

Errors

This command should not return any errors.