Grasshopper

algorithmic modeling for Rhino

Hello,

I followed one tutorial from youtube, but my definition give error message, even though I am using same expression as the tutor.

The expression:

if(x=True,-1,1)

What I want to apply with the expression is that:

if x is True the result is -1, x is False the result is 1.

Could any one give advice to me?

Views: 398

Attachments:

Replies to This Discussion

Hi,

connect your expression with the expression...

then you need a list of booleans and it will work

Raul

Thanks for your answer.

I solve my issue because of your answer.

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