Longest line from sublist


#1

It must be simple, but how,

I need to get the longest line of every sub list ( there will be 1000 and more sub lists):

Element Parameter “Länge” is the Lenght of the Curve


#2

Something like this?


#3

That gives the Maximum Value, but I need to filter the longest Curves


#4

Maybe a stupid question, but wouldn’t the longest “length” of a curve be the longest curve? (Thus using List.MaximumItem)


#5

You can try something like this as well.


#6

Yes, but whitch line of the first sublist is the longest one ( the index)? And whitch line of the second list is the longest one in the second sublist? ( the index?)


#7

With @Jonathan.Olesen method use IndexOf

http://dictionary.dynamobim.com/#/BuiltIn/Action/IndexOf


#8

As Steven says:


#9

Thank you Jonathan and Steven, it works: