poISymmetry GetOrder

Gets the order of symmetry operations.

Syntax

sym_handle GetOrder

Application

HyperView Tcl Query

Description

This command returns the order of symmetry operations. See the list below for the meaning of each return 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

To get the sequence of symmetry operations from the symmetry control:
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 num [sym_handle GetOrder]

hwi CloseStack

Errors

Returns an empty string if an error occurs.