Changing Family Based on Parameter Value

Righto, I knew I had seen something like this before.

I’ve just typed this out on my phone but it should be able to be adapted for your purpose @robertsb2010

Example:

X=input list of values
a=family type 1 for values 0 to 100
b=family type 2 for values 101 to 200
c=family type 3 for values 201 to 300
d=family type 4 for values 3011 to 400

The code block contents:

x>=0&&x<=100 ?
a:
x>=101&&x<=200 ?
b:
x>=201&&x<=300 ?
c:
x>=301&&x<=400 ?
d:
"Out of range";

The inspiration:

I’ll still see if my OOTB node solution idea works on Monday. :slightly_smiling_face:

2 Likes