poI3DViewCtrl SetWithMasking

Sets the "With Masking" state of a stored view.

Syntax

poI3DViewCtrl_handle SetWithMasking with_masking name

Application

HyperView Tcl Modify

Description

Sets the state of the "With Masking" flag for the view with the given name. If True, the masking state will be saved within the view. If False, the masking state will not be saved within the view.

Inputs

with_masking
True to enable saving the masking state as part of the view. False to disable saving the masking state as part of the view.
name
The name of the saved view.

Example

To set the "With Masking" state of a view name "View 1":
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 SetWithMasking true “View 1”
hwi CloseStack

Error

Returns HW_InvalidHandle if the view handle is invalid.