Filter the shortest Lines from each sublist

Hi
According to the picture, I have a bunch of “lines with two points” that came to 4 different lists. And I want to filter out the shortest line in each list. Any idea to how to make this?

@sinah3 ,

you can use Sort… or GroupByKey or sortByKey…

KR

Andreas

2 Likes

Hello

cordially
christian.stan

2 Likes

Hi
Thanks for your response
but idk why did not work :confused:

Hello @sinah3 try set your level to 2 in your list group by key node

1 Like

Hi
Again did not work

Hi
Thanks for your reply.

But did not work :confused:

Hi why not use the suggesten Christian give you…anyway try connect your curve length to group by key and level 2 in your key or something maybe…

1 Like

Hello
here is the node used with depth of list at L2
(Dynamo Dictionary)

cordially
christian.stan