algorithmic modeling for Rhino
Hey guys,
I have a loop from lets say: i as int32 = 0 to 50.
I am trying to make an IF THEN statement, where: IF i = even integer THEN it does something ELSE it does something else.
However I cannot figure out the right syntax to write this statement.
Does anyone know how to do this?
Any help would be appreciated.
Thanks.
Tags:
If(x Mod 2 = 0, PerformActionOnEven, PerformActionOnOdd)
--
David Rutten
david@mcneel.com
Poprad, Slovakia
I am trying to do an if/then statement from the Collision Many|Many component. If "True" then, move "x" amount.... I have written in a function component the statement "If (x="true", "not true", "true")....
Is there documentation on what can and cannot be written here? What language is this using?
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
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by