poIModel RemoveUserDefinedSystem

Removes a user-defined system from the current model.

Syntax

model_handle RemoveUserDefinedSystem id_str

Application

HyperView Tcl Modify

Description

This command removes a coordinate system from the current model. Only user-defined systems can be deleted using this command. Systems that are part of the input deck cannot be deleted.

Inputs

id_str
The ID of the user-defined system.

Example

To create and delete 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]

set id_str  [model_handle AddUserDefinedSystem rectangular]
model_handle RemoveUserDefinedSytem "$id_str"

hwi CloseStack

Errors

Returns a non-zero value upon failure.