hm_getactivesimstep

Returns the active subcase ID and simulation step ID.

Syntax

hm_getactivesimstep

Type

HyperMesh Tcl Query Command

Description

Returns the active subcase ID and simulation step ID.

Example

To get the active subcase ID and simulation step ID:
set curr [hm_getactivesimstep]
set subcase [lindex $curr 0]
set simstep [lindex $curr 1]

Errors

Incorrect usage results in a Tcl error. To detect errors, you can use the catch command:
if { [ catch {command_name...} ] } {
   # Handle error
}

Version History

2021.2