hm_cardassignedtoentity
Indicates if a card can be assigned to the entities on the mark for the current template.
Syntax
hm_cardassignedtoentity entity_type mark_id
Type
HyperMesh Tcl Query Command
Description
Returns 1 if a card can be assigned to the entities on the mark for the current template, 0 otherwise.
Inputs
- entity_type
- The type of entity to query.
- mark_id
- The ID of the mark of entities to query. Valid values are 1 and 2.
Examples
To query components 100 and 101:
*createmark comps 1 100 101
hm_cardassignedtoentity comps 1
Errors
if { [ catch {command_name...} ] } {
# Handle error
}
Version History
2019