hm_getdefaultcardimage

Returns the default card image for the specified entity type for the current template/profile.

Syntax

hm_getdefaultcardimage entity_type

Type

HyperWorks Tcl Query

Description

Returns the default card image for the specified entity type for the current template/profile. No value is returned if there is no default. The default card image is used by *createentity when another card image is not specified.

Inputs

entity_type
The type of entity to query. All entity types are valid.

Example

To get the default card image for properties:

hm_getdefaultcardimage props

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

14.0.120