poIResultMathCtrl Commit

Commits the result math expression to the data base to create a new user-defined data type.

Syntax

rmath_handle Commit

Application

HyperView Tcl Modify

Description

This command creates the user-defined data type.

Example

To commit the result math expression to the database:
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 exp_handle $eid

exp_handle SetEquation {T1+2} alias.......# alias form

exp_handle Commit


hwi CloseStack

Errors

None.