Grasshopper

algorithmic modeling for Rhino

hi, i searched a bit but it just made me confused more, i need a simple piece of code, anyone can help?

there is a slider connected to x and curves connected to y and z, what i want is;

if x = 0,  give y as output

ele give z as output

thx in adv

Views: 685

Replies to This Discussion

Moved to scripting forum.

sorry for misplacing it, i think i figured it out, this looks working:

if (x == 0):
    a = y
else:
    a = z

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service