hm_baglist_byconfig
Get a list of bag names or IDs of the specified bag configuration.
Syntax
hm_baglist_byconfig list_type
Type
HyperMesh Tcl Query Command
Description
This command gets the list of bags in the model with configuration config.
Inputs
- config
- The bag configuration. See *bagcreate for a list of bag configurations.
- list_type
- The type of list to generate (name or ID).
Examples
To get a list of the all bag names of configuration 9 (ADMPart):
hm_baglist_byconfig 9 name
To get a list of the all bag IDs of configuration 10 (ADMMaterial):
hm_baglist_byconfig 10 id
Errors
if { [ catch {command_name...} ] } {
# Handle error
}
Version History
10.0