::hwp::getCurrentSubcase

Returns the current subcase.

Syntax

::hwp::getCurrentSubcase

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 IDs returned by the command (the default return type is ID).
-window "windowID"
The window ID of where to add the model.

Returns

The current subcase.

Example

set currentSubcaseId [::hwp::getCurrentSubcase -type id]