Elements Color override

Hi everyone

In revit I have queried a parameter with numbers, in addition I have created a color node which I would like to link now
can someone help me how to make the connection?
The target in the view is to color the elements with the set values after the color

on the left in “ListGetItemAtIndex” are the parameter values of the elements and on the right in the code block of Color Range are the color values that I want to assign depending on the numerical value
I think it should be quite simple… :thinking:

Best regards

@Bim2

try this

Hi @m.rijsmus
Thank you for your answer
Unfortunately, that does not work
the numbers have to be matched.
You have a other idea?

@Bim2

It does work if your values are numbers, not strings
If you have strings you can convert it with the StringToNumber node.

1 Like