poIResultMathCtrl GetEquation

Gets the result math equation string.

Syntax

rmath_handle GetEquationmode

Application

HyperView Tcl Query

Description

This command retrieves the math equation.

Inputs

mode
The mode can have a value of: "alias", "original", or "xml".

Example

To get the math equation associated with 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 GetExpressionHandle expr_handle $eid

expr_handle SetEquation {T1+2} alias      # alias form

expr_handle GetEquation alias
expr_handle GetEquation original
expr_handle GetEquation xml

hwi CloseStack

Errors

None.