Group List key

revit
dynamo
list-filter

#1

Hello, I need to group a list based on three different parameters, I have only been able to use List Group Key but it only works once, one recommendation.


#2

This is really a data management question.

My preferred way in this instance:

What’s nice about this is that you don’t have to worry about recursion or nesting functions to a depth that matches the number of parameters you’re using. The number of parameters can be 1, 2, or 200 and it will work.

However, if you’re going to want to pull one of those parameters out after the fact, it may be faster to utilize a recursive function.


#3

Look, he’s done it that way, but from the third group it does not work for me anymore.


#4

Try the method I indicated above as it removes the sequential function issue and will produce a readily reviewable sequence of unique values.


#5

Yes, but I also do it separately, I should have something to combine or something like that.


#6

Using List Transpose


#7

Look closer. you’ve missed a string.join after the list.transpose. Don’t skip anything or you’ll get bad results.


#8

Me va de maravilla, gracias.