poIRenderOptions SetPerspectiveMode
Enables/disables perspective viewing. If disabled, an orthographic view is displayed.
Syntax
poIRenderOptions_handle SetPerspectiveMode arg1
Application
HyperView Tcl Modify
Description
This command sets the current view mode: true for perspective, or false for orthographic.
Inputs
- arg1
- Set to true for perspective view, or false for orthographic view.
Example
To enable the perspective 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 SetPerspectiveMode true
hwi CloseStack
Error
Returns a value of "3" if the handle is invalid.