Integer to enum(byte) with strange casting result

Hi ,

I’ve done some additional tests today, and found that use selection method to set enum item is also bugged. (Test Event 2 in test project)

Only workable way to set enum is to set it directly in node or in detail panel. (Test Event 3 in test project)

And this greatly reduced usability of enums because it limits run-time manipulation of enum variables.

It would be greatly appreciated if you can fix this in 4.9. :slight_smile:

Also, here’s my updated test project if you need: Dropbox - BlankEnumTestV2.zip - Simplify your life

And some screenshots:

EnumArray2 is using select method and it’s broken, only EnumArray3 is correct(set directly in node).

56820-test2-3result.png