poISymmetry SetOrder
Sets the sequence of the various symmetry operations.
Syntax
sym_handle SetOrder code
Application
HyperView Tcl Modify
Description
This command sets the sequence of the various symmetry operation like reflect, rectangular copy, and circular copy.
Inputs
- code
- The integer value which controls the sequence of the various symmetry operations. See
the list below for the possible values and meaning of each code:
- 0
- mirror, rect pattern, circ pattern
- 1
- mirror, circ pattern, rect pattern
- 2
- rect pattern, mirror, circ pattern
- 3
- rect pattern, circ pattern, mirror
- 4
- circ pattern, rect pattern, mirror
- 5
- circ pattern, mirror, rect pattern
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 SetOrder 0 # First mirror, then rect copy and then circular copy
sym_handle SetOrder 5 # First circular copy, then mirror and then rect copy
hwi CloseStack
Errors
Returns an non-zero value if an error occurs.