poIResultMathCtrl RemoveExpression

Removes an existing result math expression.

Syntax

rmath_handle RemoveExpressionid

Application

HyperView Tcl Modify

Description

This command deletes/removes an existing result math expression. If there is a data type corresponding to this expression, the data type will also be deleted.

Inputs

id
The ID of the expression to be deleted/removed.

Example

To delete a result math expression:
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

set mid [client_handle AddResultMathAnalysis “c:/samples/bumper/d3plot” “c:/samples/bumper/d3plot”]

client_handle GetModelHandle model_handle $mid
model_handle GetResultCtrlHandle result_handle
result_handle GetResultMathCtrlHandle rmath_handle

set eid [rmath_handle AddExpression]
rmath_handle RemoveExpression $eid


hwi CloseStack

Errors

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