Conditional IF nodes

I am having trouble creating a conditional IF script. I know i am missing a step somewhere. I am trying to have a different color value filled in based on different number values pulled from my “Ckt #” parameter. ie. 1,2,3 - BLACK, 4,5,6 - RED, 7,8,9 - BLUE.

Dear bharlow1986,

The if statement is ment for a Boolean input on the test. Is the test true, the true is the result. Is the test false, the false is the result.

So you need first to make a comperison to get a boolean output so you can test it.

Better in this case to use a “find and replace” function than a “if”.

With kind regards,

Timo Jooren