*menuenum()

Modifies an attribute field so that its value is displayed as and restricted to an enumeration's values.

Syntax

*menuenum (enumeration)

Type

HyperMesh Card Previewer Command

Inputs

enumeration
The name of a previously defined enumeration. Instead of an input field, the field appears as a button. When selected, the enumeration's values are displayed in a pop-up. After selected, the position of the value in the enumeration is stored in the attribute (1 to N).

Example

The *menuenum() command can only be used to modify integer attributes.

The *menuenum() command cannot modify a *menufield() along with a *menuentitytype() , a *menurestrictedvalue() , a *menulegalvalue() , or a *menudefaultvalue() command.