Getting the Equals in lists

Have a list of floor types, and want to filter the floors by the corrisponding floor finish types.

But currently feeding the two lists into an “equals” node is yeilding unexpected results

item at list 0/4 is the same as list 1/2 but only the first instance shows as “true”
must be missing something!

You’re comparing a 1D list against a 2D list. Or to put it another way, you are comparing a single object against a sub list (as opposed to object == object).

Try flattening your 2D list (the one connected to the second input of your equality node) or list levels might work (change this input control to @L2) assuming it treats the list as flat.

1 Like