poISystem SetOrigin

Sets the origin for the coordinate system.

Syntax

system_handle SetOrigin origin_str

Application

HyperView Tcl Modify

Description

This command sets the origin of the coordinate system. The origin can be set for user-defined systems only!

Inputs

origin_str
The X, Y, and Z coordinates of the system origin.

Example

To set the origin of a user-defined system:
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 GetUserDefinedSystemHandle sys1 “UserSystem 2”
sys1 SetOrigin “5.0 2.0 3.0”

hwi CloseStack

Errors

Returns a non-zero value if there is an error.