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_entryWriteArguments
| Name | Type | Description |
|---|---|---|
display_namereq | string | |
enumreq | string | |
indexreq | integer | Entry index from hf_describe_enum. |
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:
- Remove Curve Key
- Remove Data Table Row
- Remove Enum Entry
- Remove Struct Member
- Rename Data Table Row
- Set Curve Interpolation
- Set Curve Key
- Set Struct Member
All 25 tools in Data assets — 16 more not listed here.