poISystem GetOrigin

Gets the origin of the coordinate system.

Syntax

system_handle GetOrigin

Application

HyperView Tcl Query

Description

This command returns the origin of the coordinate system. The origin can be obtained for model systems, as well as user-defined systems.

Example

To get the origin of a coordinate 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 GetSystemHandle sys1 "System 1"
model_handle GetUserDefinedSystemHandle sys2 "UserSystem 2"

set origin1 [sys1 GetOrigin];
set origin2 [sys2 GetOrigin];

hwi CloseStack

Errors

None.