poIResultMathCtrl GetSubcaseList

Gets a list of resources which contain the specified table name.

Syntax

rmath_handle GetSubcaseListresource_name table_name

Application

HyperView Tcl Query

Description

This command retrieves a list of subcase IDs in which the table exists. It is possible that a table with the same name exists in more than one resource, therefore the resource name should also be specified.

Inputs

resource_name
The name of the resource in which the table exists.
table_name
The name of the table.

Example

To get the list of subcase IDs in which the table exists:
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 GetSubcaseList model Stress]


hwi CloseStack

Errors

Returns an empty list if an error occurs.