poI3DViewCtrl GetActiveView

Gets the name of the current view marked as active.

Syntax

poI3DViewCtrl_handle GetActiveView

Application

HyperView Tcl Query

Description

In order to edit a stored view, it must be marked as active. This command retrieves the name of the current active view. If no stored view is marked active, “Current View” is returned. Current View is always active. Whatever is currently displayed in the window will always be the same as the active view.

Example

To get the name of the current active view:
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 GetViewControlHandle view_handle
view_handle GetActiveView
hwi CloseStack

Error

Returns "error" if the view handle is invalid.