hm_cardimageassignedtoentity

Indicates if a card can be assigned to the entities on the mark for the current template.

Syntax

hm_cardimageassignedtoentity 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_getimageassignedtoentity comps 1

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

2019