Enum (Enumeration)
What are Enums?
- Enums, which are short for enumeration, are a unique asset type and are created from the browser by either right-clicking in the browser and selecting “Create new enum list” or by clicking the “+” icon in the bottom left and selecting the same option. The asset can be renamed and deleted from the asset browser or the OS disk browser.
- Enums are lists of values, sometimes also called enum-list-item, list-item, or just item.
- These lists can be used to keep track of different states and for selections in different patch nodes.
- Different kinds of control nodes can use these Enums.
- E.g., pulse switches that output a pulse depending on the currently selected value, or a mapper where each value represents a float value. Read more about control nodes here: Patch: All nodes
Enum view in Workspace
- Open the Enumeration to manage it in the workspace area.
- Add a new item to the list by writing it in the field and pressing Enter.
- To rename an item, double-click on it or right-click on the item and select the “rename” option.
- To remove an item, select it by clicking it and pressing the delete key, hover the item to induce an “X” symbol to the right side of the item and click it, or right-click on it and select “delete”.