Forum

How to change Enum entry via switch

Hej ho!

Got a problem to solve the following. I have a Enum-list from the Resample Node and want to switch between Linear and Repeat via Arduino button input.
How is ist possible to get access to this? I tried it via Switch and Select but nothing happens for me.

Regards Freako

If you just type the word ENUM, you see all the nodes you can try for enumerations, so I would suggest, just make them and press F1 for the helpfile.

But in the mean time, Ord2Enum (Enumerations) is the node you want to use.

And I agree, a Getslice or Select would have made more sense as a node.

Thanks a lot.