Grasshopper

algorithmic modeling for Rhino

What's the elegant way of saying :

If "whatever" =True, then execute this part of the definition, but if it's =False, then execute this other part ?

I seem to be stuck with manual switching...

 

Cheers,

--

Olivier

Views: 8972

Replies to This Discussion

Thanks Danny, I've been trying to figure out how to use the stream filter gate.

Chris

No problem Chris.

The sift-combine commands are most elegant - based on a pattern the data is divided and later combined again, in between which you can execute different operations on the different data streams.

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