poIResultMathCtrl GetResultMathResourceFileName

Gets the file name corresponding to the index of the additional result file.

Syntax

rmath_handle GetResultMathResourceFileNameres_idx

Application

HyperView Tcl Query

Description

This command returns the file name corresponding to the index of the additional result files. Index starts with "0".

Example

To get the file name corresponding to the additional result file index:
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

# Add 3 Result files (bumper, bumper foam, airbag)
set mid [client_handle AddResultMathAnalysis “Standard”, “c:/samples/bumper/d3plot”, “c:/samples/bumper/d3plot”, 0, 0, “c:/samples/bumper_foam/d3plot;c:/samples/airbag/d3plot”]

client_handle GetModelHandle model_handle $mid

# Get the resource label/filename corresponding to the 3 subcases
set res1 [model_handle GetResultMathResourceFileName 0]
set res2 [model_handle GetResultMathResourceFileName 1]
set res3 [model_handle GetResultMathResourceFileName 2]
# res3 should be invalid/empty


hwi CloseStack

Errors

None.