poIResultMathCtrl SetSubcase

Sets the subcase ID in which the user-defined data type will be created.

Syntax

rmathexp_handle SetSubcase subid

Application

HyperView Tcl Modify

Description

This command sets the subcase ID in which the data type will be created.

Inputs

subid
The ID of the subcase. A value of zero means that the data type will be created in all of the subcases.

Example

To set the subcase ID in which the data type will be created:
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 SetSubcase 1

exp_handle Commit

hwi CloseStack

Errors

None.