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 REVIEW, SHIIR and CARDEDIT.
Examples
To query if nodes are supported for SHIIR:
hm_isentitysupportedforaction nodes SHIIR
To query if components are supported for CARDEDIT:
hm_isentitysupportedforaction comps CARDEDIT
Errors
if { [ catch {command_name...} ] } {
# Handle error
}
Version History
14.0
2017 Added new action REVIEW.