I want to flatten a list in Dynamo from the right to the l;eft – not the left to the right.
OK – OOTB Dynamo will allow you to use the List.Flatten node to flatten a list for a specific amount.
But what if you don’t want to have it that way, you want to have the list flattened at the @L2 level 1nstead of the @L4 level.
First attempt – use a negative number at the amt input of List.Flatten
Not working – the list completely lost it’s structure and is now flat – like a smorgasbord…
In order to get to the desired effect – kudos to Ben Osborne dynamobim.org – you got to do this:
And life is good…