Add Enum Entry
Add an entry to a user enum and set its display name. The engine appends with a generated internal name; the display name is what appears in dropdowns and is what this sets.
hf_add_enum_entryWriteArguments
| Name | Type | Description |
|---|---|---|
display_namereq | string | Name shown in dropdowns. |
enumreq | string | User-defined enum asset path. |
force | boolean = false | Edit even when the asset cannot currently be saved - for example when revision control is configured but disconnected. The change will be made in memory and WILL BE LOST unless the underlying problem is fixed before saving. Only pass this if you intend to discard the work or fix the connection first. |
Related tools
Nearby in Data assets:
- Add Data Table Row
- Add Struct Member
- Audit Data Tables
- Create Curve
- Create Data Table
- Create Enum
- Create Struct
- Describe Curve
All 25 tools in Data assets — 16 more not listed here.