Skip to content
Jigwright
HullForge docs

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_entryWrite

Arguments

NameTypeDescription
display_namereqstringName shown in dropdowns.
enumreqstringUser-defined enum asset path.
forceboolean
= 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.

Nearby in Data assets:

All 25 tools in Data assets — 16 more not listed here.