How to divide 1 list into 3

I want to take this List and give each value in it a different index.

You will probably find what you need here :slight_smile:

1 Like

You’ll have to do a little bit of cleanup but I think you’re looking for String.Split.

Based on your values, it looks like those are RGB colors. If you have the actual Dynamo color objects you can use nodes to pull the RGB values. It you’re pulling those objects from somewhere else (like Excel) and they’re already strings, then you’ll need the above node I mentioned.


Use a Python Node to convert them to tuples.

OUT = [eval(i) for i in IN[0]]

thanks you