hm_getitemnumber

Gets the number of a menu item.

Syntax

hm_getitemnumber panel_name item_name occurrence

Type

HyperMesh Tcl GUI Command

Description

Gets the number of a menu item. The number can be used in other Tcl commands.

Inputs

panel_name
The name of the panel where the item resides.
item_name
The name of the menu item as it displays on the menu.
occurrence (optional)
More than one menu item may have the same name on a menu; use occurrence to distinguish between them.

Example

Menu items (such as buttons, radio buttons, etc.) have a name and a number. This function will find the number so it can be used in other Tcl commands

Errors

None.