# <Enumeration> Element

The <Enumeration> element adds a User-Defined Control to the User Operator Setup dialog box. The type of control is an drop-down list. You can select one item from many selections as shown in the picture below. Selections in the drop-down list are arranged in the order of the <Selection> child elements in the XML file. A maximum of 10 selections can be defined. In order for your script to access this setting, the "Name" attribute in the parent <Control> element must be the name of a string script variable.

Do not use spaces or hyphens when naming your user-defined controls.

<Control Name = "FilterType"> <Enumeration> <Default>lowpass</Default> <Selection>highpass</Selection> <Selection>low</Selection> <Selection>bandpass</Selection> </Enumeration> </Control> |

- XML file elements

## Parent Elements

- <Control>

## Child Elements

- <Default>
- <Selection>

## Attributes

None

## Example

- <Function>
- …
- <Control Name = "Selections">
- <Enumeration>
- <Default>Medium</Default>
- <Selection>High</Selection>
- <Selection>Medium</Selection>
- <Selection>Low</Selection>
- </Enumeration>
- </Control>
- …
- </Function>