poISymmetry SetMirrorSystem

Sets the coordinate system which is used for the reflect operation.

Syntax

sym_handle SetMirrorSystem sys_str

Application

HyperView Tcl Modify

Description

This command assigns the system which will be used for the mirror operation.

Inputs

sys_str
The locator string for the system. If the Global system is needed, enter a value of “0”.

Example

To set the system for a reflect/mirror operation:
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

# Use global system for mirror operation
sym_handle SetMirrorSystem 0
# Use system ID 5 for mirror operation
sym_handle SetMirrorSystem "5"

hwi CloseStack

Errors

Returns an non-zero value if an error occurs.