poIResultMathCtrl SetLabel

Sets the label of the result math expression.

Syntax

rmathexp_handle SetLabellabel

Application

HyperView Tcl Modify

Description

This command sets the label of the result math expression.

Inputs

label
The label for the expression. The label cannot be the name of an existing data type. In addition, the label cannot contain any of the following characters: '[',']','{','}','\'','\','<','>','&', ':'.

Example

To set the label of the 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

exp_handle SetLabel "myexpression"


hwi CloseStack

Errors

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