hm_baglist
Get a list of bag names or IDs for the current model.
Syntax
hm_baglist list_type
Type
HyperMesh Tcl Query
Description
This command gets the list of bags in the model.
Inputs
- list_type
- The type of list to generate (name or ID).
Examples
To get a list of the all bag names in the model:
hm_baglist name
To get a list of the all bag IDs in the model:
hm_baglist id
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
10.0