Hi guys. I need to add 0.1 or 0.2 randomly to my list. It only includes one number atm.
You’ll have to make your random number picker supply the same number of “Choosers” as you have numbers, right click the component and select integers, and graft them.
I don’t know if it’s the best way but I think it works…
random.gh (14.1 KB)
Thanks guys. The first solution works great. Now I want to limit the amount of numbers you can assign.
For example there is 30 0.2 values, and 20 0.1 values. And how do I select at the end all values with 0.1 or 0.2. Thanks
Here’s a solution, if it’s the ratio of 0.1 to 0.2 numbers then you could of course use list length and solve how many of each you want (2/5 and 3/5).
These are super easy things to search the forum for though, and the better you get at doing that the faster you become good at Grasshopper.
Hey this is great but my Jitter only allows one data input, I dont know why.
Hold down shift while dragging