Access
All Enumerations (Enums) are defined globally as tables. You can access their members directly using the Enum name, followed by either the dot (.) operator or the bracket ([]) operator and the desired value name.
Enum Usage Example
Members
This section lists all globally defined Enumeration tables (Enums). These tables provide readable names for numerical constants, allowing you to access a constant value by using the Enum’s global name followed by its member name (e.g.,EventType.Draw).
EventType
This enumeration lists the available event triggers that scripts can register functions to handle using theevent.set function.
NotificationType
This enumartion lists the available notification types that can be used to register a notification widget using themenu.add_notification function.
GlobalType
This enumeration lists the available global section types that you can use with themenu.set_global and menu.get_global functions.
ModelFlags
This enumeration defines various binary flags used to represent the current state or properties of a ModelObject for checking in Lua scripts. These flags can be checked against a ModelObject’s Flags property using the bitwise AND operator (&).
EntryExclude
This enumeration defines flags used to specify which types of entries should be excluded or filtered when retrieving the entry list. Does not exclude any entries; returns all entries regardless of their current state (e.g., even if they are in a removing state).
Excludes entries that are currently in a removing or invalid state, returning only actively loaded entries.