poIModel AddUserDefinedSystem
Adds a new coordinate system to the current model.
Syntax
model_handle AddUserDefinedSystem system_type
Application
HyperView Tcl Modify
Description
This command adds a new coordinate system to the current model. The following types of systems can be created: "Rectangular", "Cylindrical", or "Spherical".
Inputs
- system_type
- The system type - which can be any of the following values: "Rectangular", "Cylindrical", or "Spherical".
Example
To create three different types of
systems:
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]
set id_str1 [model_handle AddUserDefinedSystem rectangular]
set id_str2 [model_handle AddUserDefinedSystem cylindrical]
set id_str3 [model_handle AddUserDefinedSystem spherical]
hwi CloseStack
Errors
This command returns the pool name and ID of the new system is successful, or a null string if a system cannot be created.