algorithmic modeling for Rhino
added to my favourite expressions!
Thank you!
DeDackel
Hi all,
I want to dig up this thread as I've got a question to expand on it. In the situation that Taz demonstrated below, you can get a True/False result for whether or not a number is even. I've been able to get this to work. Now I want to add +1 to all the odd (false) options. I'm having difficulty separating the data so that it is only adding to the odd numbers, then recombining the data to be in the same order, however with the relevant +1 so that all numbers are even values in the final list/tree?
Ive got a good handle of GH, but never had much use for If/Then statements - might this be a good time to figure them out? Something along the lines of "If number is odd, add 1. If number is even, add 0." (?)
Thanks,
-BC
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