Use "Replace" to programatically set a Ring and then 'Replace' it with an Enum.

Occasionally you have an array of strings that you would like to use as entries in an enum. This enum can be programatically  created by creating a ring control and altering its properties.  As enums don't allow the user to write to its strings[] value we use a ring as a walk-around. First create a ring control and a property node that links to it. In this property node you can select its strings[] property. Change this to write and wire in your array of strings. Then on the front panel you can replace the ring control with an enum control and it will retain the values that you stored in the ring.  
Comments