Description
This node lets you generate items for an enum property with Dynamic Items enabled.
The Items input of the node should be a list of enum items which you can create with the Make Enum Item node.
On the node you can select the enum property you want to create items for.
A simple way to create items would be to have a setup like this. This is creating a list with three enum items and passing that into the generate dynamic enum items node. You could connect custom items here as well.
For a more powerful option to get items you can use a function with a list variable. The function should return the list variable.
Inside the function, you can add enum items to the list. In the example, an enum item is added for each object in the file.
Make sure to reset the variable at the start of the function and turn off Require Execute on the Run Function node.
You could use this kind of setup to load items from a more dynamic source like a collection property and use the enum in an icon gallery.



