poIResultMathCtrl GetSimulationLabel

Gets the label of a particular simulation.

Syntax

rmath_handle GetSimulationLabelresource_name sub_id index

Application

HyperView Tcl Query

Description

This command retrieves the label of a particular simulation.

Inputs

resource_name
The name of the resource.
sub_id
The ID of the subcase.
index
The index of the simulation whose label is needed.

Example

To get the label of a simulation:
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 res_list [rmath_handle GetSimulationLabel model 2 0]


hwi CloseStack

Errors

None.