*cardmenuitem()

Specifies the name and tag attribute for a Control Card.

Syntax

*cardmenuitem (button text, attribute name)

Type

HyperMesh Card Previewer Command

Inputs

button text
The text that is displayed to you in the Control Cards menu. Should be less than 60 characters in length.
attribute name
The tag attribute for a Control Card entity. This must have an accompanying *card(attribute name) block in the template file.

Example

The *cardmenuitem() commands specify the list that appears in the Control Cards menu. If the list is too large to display, Prev/Next and First/Last buttons are added to the menu so you can page through all options.

The Control Card buttons are displayed with different colors, depending on their status and their existence in the database. Items with gray text do not exist in the database. Items with red text exist in the database, but are inactive and are not written to a file when exporting data. Items with green text exist in the database and are active; and are output when exporting data. Only one instance of each type of Control Card can exist in the database.