MaxItembyKey node with 2D List


#1

As can be seen in the image:

With a list of lists, the maximumitem by key does not seem to work. I want to get a new 1D list of the points with the maximum ‘X coordinate’ from each of the sublists.

Below that I am simply showing that it works with a 1D list, not sure why it isn’t with a 2d list.


#2

I should rephrase, I want the points associated with the maximum ‘X-coordinate’ from each sublist… NOT just the number value itself.


#3

Hi @astm563


#4

I knew there had to be something simple I was missing. Thanks KulKul!


#5

Please mark the post as solved. You’re welcome!