poISweepCtrl GetEnableState
Gets the enable state of the axisymmetry controller.
Syntax
poISweepCtrl_handle GetEnableState
Application
HyperView Tcl Query
Description
This command returns the current enable state of the axisymmetry controller. If the enable state is "true", then the axisymmetry plot can be seen. If the enable state is "false", then the axisymmetry plot is not visible. In order for the axisymmetry plot to be drawn, the display option state needs to be set to "true" in the post client; you can retrieve this state by using GetDisplayOptions axisymmetry command in the client handle.
This command returns an integer value indicating the axisymmetry options that are currently applied. For example, this command returns "7" if reflection, rectangular copy, and circular are all applied. This command returns "1" if only reflection is applied, etc.
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
client_handle GetModelHandle model_handle [client_handle GetActiveModel]
model_handle GetSweepCtrlHandle sweep_handle
set enable_state [sweep_handle GetEnableState]
hwi CloseStack
Errors
This command should not return any errors. If no model is loaded, the axisymmetry handle is not retrievable and thus this command is unable to be called.