Grasshopper

algorithmic modeling for Rhino

Sorry for the novice question:

I am trying to use the extremes component but it does not seem to work the way I expect it to. I currently have a list of numbers and I want to return the maximum and minimum values for the list. I thought that I'd just hook the list up to both the A and B inputs on the component and it would spit out my values, but instead it just spits out the list. The list has been completely flattened before being given to the component. Can anyone help me understand what the component is expecting, why this doesn't work, and how I should approach this?

Thanks!

Views: 2668

Replies to This Discussion

Hi Joseph, hook your list up to a Bnd(Bounds) component, followed by a DomComp (Domain Components) component.

I prefer this over sorting the list and getting Items 0 of the List and the reversed, but that is an option too.

Hi Pieter,

helps a lot. Thank you

Jörg

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