algorithmic modeling for Rhino
Assume I have a list A of 1 and 0 values, how do I change it to a new list B in which the value of a item is x if the same item in list A is 1, otherwise, the value of an item in list B is y if the same item in list A is zero?
Is there a "if then" component to do this?
Thank you!
or something like this:
Tags:
Dear Hyungsoo, thank you very much for the advice!
Great to learn the function of the expression component.
Pro-tip, if x is already a boolean, you can just type If(x, 24, 99)
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by