poISymmetry SetEnableState
Enables/disables the state of the symmetry controller.
Syntax
sym_handle SetEnableState code
Application
HyperView Tcl Modify
Description
This command sets the state of the symmetry controller.
Inputs
- code
- The integer value which controls what symmetry operations will be performed.
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 GetSymmetryCtrlHandle sym_handle
sym_handle SetEnableState 1 # Only reflect operation
sym_handle SetEnableState 2 # Only Rectangular copy
sym_handle SetEnableState 4 # Only Circular copy
sym_handle SetEnableState 7 # All the 3 above
sym_handle SetEnableState 0 # No symmetry operation
hwi CloseStack
Errors
Returns an non-zero value if an error occurs.