hm_isentitysupportedforaction
Determines if a particular entity type is supported for a certain action.
Syntax
hm_isentitysupportedforaction entity_type action
Type
HyperMesh Tcl Query Command
Description
Determines if a particular entity type is supported for a certain action. A return value of 0 means it is not supported. A return value of 1 means it is supported.
Inputs
- entity_type
- The type of entity to query.
- action
- The action to query. Currently supported actions are CARDEDIT, CREATE, REVIEW, and SHIIR.
Examples
To query if components are supported for CARDEDIT:
hm_isentitysupportedforaction comps CARDEDIT
To query if nodes are supported for SHIIR:
hm_isentitysupportedforaction nodes SHIIR
Errors
if { [ catch {command_name...} ] } {
# Handle error
}
Version History
14.0
2017 Added new action REVIEW.