hm_entitycanselectby
Returns true if the passed entity type can be selected using the specified advanced method.
Syntax
hm_entitycanselectby option entity_type
Type
HyperMesh Tcl Query
Description
This command returns true (1) if entity_type can be selected with the specified option, else it returns false (0). The valid values for option are the same as those in hm_appendmark, hm_createmark, *appendmark and *createmark.
Example
To determine if elements can be selected using the "by name only" option:
hm_entitycanselectby "by name only" elems
Errors
Incorrect usage results in a Tcl error. To
detect errors, you can use the catch
command:
if { [ catch {command_name...} ] } {
# Handle error
}
If entity_type is invalid, you will get the following error:
hm_entitycanselectby: invalid entity type specified.