I want to sort list by Level Name (top nodes), but I want the level to be sorted by Elevation (example as bottom nodes). Can I sort these in one shot? (I understand that I can sort list by adding elevation parameter value, but I prefer not to do that way). Thanks.
MONUMETRIC Video mmt-volt
Collapse
How to combine SortByFunction with SortByKey
Collapse
X
-
How to combine SortByFunction with SortByKey
I want to sort list by Level Name (top nodes), but I want the level to be sorted by Elevation (example as bottom nodes). Can I sort these in one shot? (I understand that I can sort list by adding elevation parameter value, but I prefer not to do that way). Thanks.Tags: None -
Hello Mimi,
Have a look at the following example using Function.Compose.
If you want to understand how it works, go to my post entitled 'Wrangle That Data: Dynamo Filtration and Sorting'
Sol Amour
Architectural Explorer, Digital warrior, Affectual adventurer and Curious Human Being
Portfolio Website @ Cargo Collective
-
-
Sol Amour
Architectural Explorer, Digital warrior, Affectual adventurer and Curious Human Being
Portfolio Website @ Cargo Collective
Comment
-
Comment
-
Dynamo natively will organise the 'Level Name' by alphanumeric characters. So you will want to organise first by name, then by level (i.e 'C' for Ceiling comes before 'L' for 'Level 0').
Sol Amour
Architectural Explorer, Digital warrior, Affectual adventurer and Curious Human Being
Portfolio Website @ Cargo Collective
Comment
Related Topics
Collapse
-
How to check whether a parameter value is an element where in C# we can use "if element is level". For example here parameter Top Constraint...
-
Channel: Dynamo BIM
April 20, 2017, 05:09 AM -
-
Hi - I'm trying to get a list of plan views sorted by the elevation of their associated level. I've managed to obtain the associated level of a view...
-
Channel: Dynamo BIM
December 12, 2017, 09:15 PM -
-
Hello all!
I am trying to "combine" two lists into one cohesive list.
In List 1, I have list items that are "empty"...-
Channel: Dynamo BIM
November 30, 2015, 04:28 PM -
-
The GoogleFu is weak with this one - and though sure this has been asked a million times before, I can't seem to find the solutions to my amateurish issue....
-
Channel: Dynamo BIM
October 22, 2017, 12:41 PM -
-
Im trying to replace a sequence in my view names: 1, 2, 3, 4, 5, 6.
By A, B, C, D, E, F, G.
See attached picture.
The...-
Channel: Dynamo BIM
March 17, 2020, 10:03 AM -
MONUMETRIC Anchor B sticky footer - 7ba6
Collapse
Comment