hm_getentitybundleinfo
Returns information about entity bundles.
Syntax
hm_getentitybundleinfo option ?arg1? ?arg2? ... ?argN?
Type
HyperMesh Tcl Query Command
Description
Returns information about entity bundles.
Inputs
- option ?arg1? ?arg2? ... ?argN?
- One of the following options:
Example
To return the list of entity types, in order, that constitute the definition of the bundle named "material bundle":
hm_getentitybundleinfo -definition "material bundle"
To find the bundle named "material bundle" and answer "true" if there is any entity stored
in its first data
item:
hm_getentitybundleinfo -anyinbundle "material bundle" 0
To find the bundle named "material bundle" and return a Tcl list of the
IDs stored in its first data
item:
hm_getentitybundleinfo -getids "material bundle" 0
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
14.0.130