poISymmetry GetRectPattern
Gets the parameters which were used for a rectangular copy.
Syntax
sym_handle GetRectPattern axis
Application
HyperView Tcl Query
Description
This command returns the parameters which were used for a rectangular copy. The return value contains the number of items along that particular axis and the spacing between items.
Inputs
- axis
- The axis for which the parameters are requested. Possible values for this argument are: 0, 1, or 2 (corresponding to x, y, z axis).
Example
To get the rectangular 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
set xval [sym_handle GetRectPattern 0]
set yval [sym_handle GetRectPattern 1]
set zval [sym_handle GetRectPattern 2]
hwi CloseStack
Errors
Returns an empty string if an error occurs.