poIResultMathCtrl AddExpression
Adds a new result math expression.
Syntax
rmath_handle AddExpressionlabel
Application
HyperView Tcl Modify
Description
This command adds a new empty result math expression. If the result math expression is properly set up, a user-defined data type will be created.
Inputs
- label (Optional)
- Label for the expression.
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
rmath_handle AddExpression “sample”
hwi CloseStack
Errors
Returns the ID of the newly created expression if successful, otherwise an error code (0).