Skip to content
Jigwright
HullForge docs

Set Enum Entry

Change an entry's display name. This is the SAFE rename: the stored value is an index, so changing what it is called does not change what anything selected.

hf_set_enum_entryWrite

Arguments

NameTypeDescription
display_namereqstring
enumreqstring
indexreqintegerEntry index from hf_describe_enum.
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.