poISystemCtrl SetEnableState

Sets the enable state of the system review control.

Syntax

sysctrl_handle SetEnableState enable_state

Application

HyperView Tcl Modify

Description

This command sets the enable state of the system review control. If the enable state is set to "true", then the system review plot can be seen. If the enable state is set to "false", then the system review plot is not visible and the model is drawn as it was. However, the visibility of the system review plot also depends on the display option state in the client handle; in order for the system review plot to be visible, both states must to be set to "true" (client_handle SetDisplayOptions system).

Inputs

enable_state
Set to "true" to enable the system review.

Example

To enable the drawing of the system review plot:
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 GetModelHandle model_handle [client_handle GetActiveModel]
model_handle GetResultCtrlHandle result_handle
result_handle GetSystemCtrlHandle sysctrl_handle
sysctrl_handle SetEnableState true
client_handle SetDisplayOptions system true
hwi CloseStack

Errors

None. If no results were attached, the contour handle is not retrievable, thus this command cannot be called.