poI3DViewCtrl GetViewList
Gets a list of all memorized views for the current window.
Syntax
poI3DViewCtrl_handle GetViewListview_list
Application
HyperView Tcl Query
Description
This command retrieves a list of all memorized views in the active window.
Inputs
- view_list
- The list that contains all of the view names for the active window.
Example
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
variable view_list
viewctrl_handle GetViewList view_list
foreach { view_name } $ view_list {
puts " View: $view_name"
}
hwi CloseStack
Errors
Returns an error if the view control handle is invalid, or if the view list is empty.