Grasshopper

algorithmic modeling for Rhino

Max & Min, is there a component that is in between?

I have been working with the max component to keep a set of numbers above a certain number. Is there a component that would keep a set of numbers higher than a minimum and lower than a maximum? And if there isn't, what would be the best way to do this?

I've also tried to use the function component and writing out an expression: 0.2<x<1.0 but it's giving me an error.  Attached is the file.

Views: 401

Attachments:

Replies to This Discussion

hey,
you can write
If 0.2 < x And x < 1.0 Then...
ok thanks. I thought there would be a component that did that. But I just ended up writing one in VB.

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