hm_getcardimagenamemark

Returns the name of the card image for each entity on the mark.

Syntax

hm_getcardimagenamemark entity_type mark_id

Type

HyperMesh Tcl Query

Description

Returns the name of the card image for each entity on the mark. If a entity does not have a card image, an empty string is returned in the list for that entity.

The order in which the values are returned is the same as the order of the entities on the mark, which can be obtained using hm_getmark.

Inputs

entity_type
The type of entity to query.
mark_id
The ID of the mark containing the entities. Valid values are 1 and 2.

Example

To get the card image assigned to all properties:

*createmark props 1 all
hm_getcardimagenamemark props 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

10-SA1-120