poIResultMathCtrl GetExpressionHandle

Gets a handle to the result math expression.

Syntax

rmath_handle GetExpressionHandle id

Application

HyperView Tcl Query

Description

This command gets a handle to a result math expression. Once it has been retrieved, the handle can be used to manipulate the expression.

Inputs

id
The ID of the expression whose handle is needed.

Example

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 GetExpressionHandle expr_handle $eid

# Get the list of methods available on the expression handle
expr_handle ListMethods


hwi CloseStack

Errors

Returns the name of the handle if successful, otherwise an error code.