poISymmetry SetCirPattern
Sets the parameters which are used for a circular copy.
Syntax
sym_handle SetCirPattern pat_string
Application
HyperView Tcl Modify
Description
This command sets the parameters which will be used for the circular copy.
Inputs
- pat_string
- The parameter string which specifies the axis of rotation, the number of items, and the rotation angle.
Example
To set the circular pattern
parameters:
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
#copy about x-axis, with 6 items around 360 deg
sym_handle SetCirPattern "x 6 360"
#copy about yaxis, with 4 items around 180 deg
sym_handle SetCirPattern "y 4 180"
hwi CloseStack
Errors
Returns an non-zero value if an error occurs.