algorithmic modeling for Rhino
Is it posible to replace more than 1 value at the same time??
lets say I have a list of numbers
0,12
0,13
0,17
0,56
0,58
0,59
0,83
0,86
0,89
and I wanna replace everything for 0,15_ 0,55_0,85 so I would end up with JUST 3 DIFFERENT POSIBILITES AND NOT MANY
0,15
0,15
0,15
0,55
0,55
0,55
0,85
0,85
0,85
is this possible?
Tags:
HI Francisco,
you're using commas as decimal symbols I take it? Typically people use the English notation to avoid confusion between decimal symbols and set member symbols.
If you want to round numbers to an existing set using nearest neighbour rounding, then you can use the [Find Similar Member] component.
It's in the Sets tab, Sets panel. Note that if you plug the text panel directly into the [Find Similar Member] component it won't work because then it will try to match up text with numbers. You need to convert the "0.15" etc. into actual numbers first.
--
David Rutten
david@mcneel.com
Poprad, Slovakia
You need to make sure the data you put in is numbers, not text. Anything inside those yellow panels is text. Insert a number parameter into the upper wire same as in the lower wire.
--
David Rutten
david@mcneel.com
Poprad, Slovakia
oh man...it was that easy? I was breaking my head thinking! thanks!!!
Nice thanks so much.....you are the man!!!!
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