@getcollectorcardimage()

Retrieves the card image of a collector (such as PSHELL, Part, and so on).

Syntax

@getcollectorcardimage (collector type, collector id)

Type

HyperMesh Template Function

Inputs

collector type
The type of collector, such as properties or components.
collector ID
The ID of the collector.

Example

The following template code outputs the name and card image of every component in the model:

*components("","")
*format()
*string("component: ")
*field(quotedstring,name,0)
*string("card image: ")
*field(quotedstring,[@getcollectorcardimage(comps,id)],0)
*end()
*output()