hm_getidpools
Returns a list of pool IDs or names for the specified entity type.
Syntax
hm_getidpools entity_type ?return_type?
Type
HyperMesh Tcl Query
Description
Returns a list of pool IDs or names for the specified entity type. The pool IDs and names are returned in the same order.
Inputs
- entity_type
- The type of entity to query.
- return_type (optional)
- Argument that specifies whether to return pool IDs or names. Valid values are name and ID (default if not specified).
Examples
To get the pool ID list for elements:
hm_getidpools elems
hm_getidpools elems id
hm_getidpools props name
Errors
if { [ catch {command_name...} ] } {
# Handle error
}