::hwp::getSubcaseList

Returns all subcases that are contained in the current model/results.

Syntax

::hwp::getSubcaseList

Application

HyperWorks Tcl Query

Description

This procedure implements minus options.

This procedure returns the list of subcases in the model.

If no window or page is given, then the active window and the active page are used.

Mandatory Arguments

None.

Optional Arguments

-page "pageID"
The page ID of where to add the model.
-type "name or id"
Names or ID's returned by the command. The default return type is ID.
-window "windowID"
The window ID of where to add the model.

Returns

The list of all subcases (by name or by ID, option dependent).

Examples

set subcaseIdList [::hwp::getSubcaseList]
set subcaseNameList [::hwp::getSubcaseList -type name]