poI3DViewCtrl RestoreView

Restores the current view parameters with the memorized view name.

Syntax

poI3DViewCtrl_handle RestoreView view_name

Application

HyperView Tcl Modify

Description

This command updates the current view settings with the memorized settings saved with the given name.

Inputs

view_name
The name of the view.

Example

To restore the current view with the given name:
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
viewctrl_handle RestoreView “view name“
puts "Current View: [viewctrl_handle GetCurrentView]"

hwi CloseStack

Errors

Returns an error if the view control handle is invalid, or if the memorized view name could not be found.