Grasshopper

algorithmic modeling for Rhino

Hi,

im trying to make an if statement - if a number in the panel is larger than 13 then substract one from the same posision in the other list. ive tryed with larger than component and i have a list with true and false but cant make it further

thanks a lot

Views: 263

Attachments:

Replies to This Discussion

True and false values map directly to integers. False=0 and True=1
So you can just use a subtract component and feed your booleans into the second input.

Thanks, David!

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