Grasshopper

algorithmic modeling for Rhino

Hello,

If x=0 OR x=3, true, false

Is is it possible to create such expression? i have a list of numbers and would like to dispatch it into two lists - one with 0s and 3s, and second one with other numbers. I would like to do that with one expression.

Thank you for your time and help

Views: 4441

Replies to This Discussion

Expressions use really strange syntax, but i think this works

Attachments:

Thank you, it works but i dont undarstand a thing to be honest. I'd be grateful for explenation. Do you, by any chance know where i could learn more about gh syntax?

Check this as well.

Oh, so it were just brackets i needed and "or" actually does work :). Thanks a lot.

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