poISystemCtrl GetEnableState
Gets the enable state of the system review control.
Syntax
sysctrl_handle GetEnableState
Application
HyperView Tcl Query
Description
This command retrieves the current enable state of the system review control. If the enable state is "true", then the system review plot can be seen. If the enable state is "false", then the system review plot is not visible and the model is drawn as it was. However, in order for the system review plot to be drawn, the display option state must to be set to "true" in the post client; you can retrieve this state by using the poIPost GetDisplayOptions command.
Example
To get the enable state of the system review
control:
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
set enable_state [sysctrl_handle GetEnableState]
hwi CloseStack
Error
None. If no results were attached, the system control handle is not retrievable, thus this command cannot be called.