Grasshopper

algorithmic modeling for Rhino

Evalute function: have numbers as output variable?

Hello,

I am trying to make an if function that works as follows:

if x < m return x

if x > m return s

I tried it with the Evaluate block but this returns ".s" as text.

Am I using the wrong block for this?

Thanks in advance

Views: 270

Replies to This Discussion

Hi, try with:

if(x<m, x,s)

Thanks that worked!

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service