List problem for strong solvers!

I am having to lists of elements, unequal.

I get the space which they are in.

I need the definition to compare which elements are in the same room (1)

then group the items from one list that are in the same space with the items from the other list.

Essentially I am trying to find the height of nearby light fittings and feed it to my sensors…?

Any thoughts?

How can I write in code: When space name is eqaul to room name

Set my sensors parameter to Room unbounded Height?

List.GroupByKey will group all elements in a list by matching values in another list.

I’m lost by the second question though.

1 Like

It was a mapping exercise for which cross product helped to see out. Didnt know about that node thanks