Grasshopper

algorithmic modeling for Rhino

Hello,

usually I tend to script everything, especially when it comes to "if/else".

However in some cases, setting up a script component is kind of

unnecessary and I really do like the expression component.

Now, a simple "if" statement is kind of easy, but is it possible to a add

several conditions inside one "if"- statement?

I tried several keywords like "&&", "&",  "and" but I had no success

in combining two conditions.

 

Views: 7464

Replies to This Discussion

BTW: try the orMaybe, andProbably, exorPossibly, maybeTrueMaybeFalse as well

Brilliant > I think that you are ready to sign the trivial thingy (sort version - why bother with the fine print(s)?).

Attachments:

Hmm ... typical German, he he > meticulous attention to every detail > in plain English: a tough client (and/or soul).

By best offer: an "slightly" (ab)used 916 SPS  (+ spare parts), a GMT Master (working occasionally) and a luxury beach cottage (in the hands of IRS due to some unfortunate omissions in my tax declaration(s)). 

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service