Grasshopper

algorithmic modeling for Rhino

Greetings,

Does anyone know how I can select or know the value of the highest value in a list of numbers?
I'm sure this is a stupid question for most of you, so I apologize, but if anyone would be so kind, I'd be really appreciative.
Thank you very much

Views: 54639

Replies to This Discussion

maybe this is the problem!? set Panel to multiline data!? Using: DAP3_ListExtremes from http://dap3.nl/list-extremes

Attachments:

Hi,

I have the same problem. In a list of thousands, even if I sort, 1000 is smaller than 2.

Bounds could be work, but I don't know how to extrapolate the two numbers.

Thank you 

Here is a definition for finding min and max values of a list without having to download another item for your library

Attachments:

Where can these Max Value and Min Value components be found in GH? I don't see them in the Sets panel or in the keyword search.

There is a tiny mistake in the def. The index for the min Value must be 0.

Wow, you're right, David Smith's code is bad in several ways.  Renaming components is always a bad idea, as far as I'm concerned ('List Item' to 'Min Value' and 'Max Value').

This is all you need:

Attachments:

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service