poISymmetry SetRectPattern

Sets the parameters which were used for a rectangular copy.

Syntax

sym_handle SetRectPattern axis param

Application

HyperView Tcl Modify

Description

This command assigns the parameters which were used for a rectangular copy.

Inputs

axis
The axis for which the parameters are requested. Possible values for this argument are 0/1/2 (corresponding to x/y/z axis).
param
The parameter string which defines the rectangular copy. This argument typically contains two values: 1) the number of entities and 2) the spacing between the entities.

Example

To set 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

# 4 copies along x-axis with a spacing of 100
sym_handle SetRectPattern 0 "4 100"

# 3 copies along the y-axis with a spacing of 200
sym_handle SetRectPattern 1 "3 200"

# 5 copies along the z-axis with a spacing of 50
sym_handle SetRectPattern 2 "5 50"

hwi CloseStack

Errors

Returns an non-zero value if an error occurs.