Coloring Elements in Dynamo

How do I color these elements that I have created ?

I want to add distinct colours to each element I created with script.

Hello and welcome…here is one way with override in view, you could create a filter as well…

take a look here…Dynamo Dictionary