Grouping of elements based on two functions

I want to group the walls based on their names and their levels. I have first grouped them by name and now I also want to group them by their base constraints. Is their a way that we can use AND in this case, as a result the elements with same answers will be in the same group.

Convert their type Id to a string and append it to its base levels’ Id maybe. Then use this as a key to group the walls. It’s a bit of a hacky method but it should get the job done.

See if that helps,


Group by Level and name.dyn (11.7 KB)

Or like This!


Group by Level and name1 .dyn (11.6 KB)

some practice with dictionaries and groups by key, many options to sort and group elements

dictionaries&groups.dyn (60.5 KB)

Thats why I exactly wanted. Thankyou :slight_smile: