Random Selection of Points

Hi everyone

I have a question about “list item”. I have a grid with “area” points. these points are my middlepoints for two kind of circles. what i want to do is to select a random selection of points. there i want to place the circle with radius 20. at the others (no selected) i want to put the circles with radius 50. so how can i select the ones who are not select right now? do you have any recommendation?

thanks
christof

You can use cull index component to get the remaining random points. Check the attached image below.

Best,
Kedar

Using cull index indeed: grid random circle.gh (8.2 KB)

Thank you very much :slight_smile:

Check this as well.

1 Like

Thank you very much.

Another question. I used the random method. But now i want to create a special sequence to select the points. I want to have a rythm. A,A,B,B,B,A,B,B and then repeat. A= circle 20, B= circle 50. how can i create that? I tried with range. But couldn‘t get the result i want.

Cull pattern with true, true, false, false, false, true, false, false as the pattern for dispatch and then A - output with radius 20 and B-output with radius 50. (Not at a pc right now)

Thank you guys! Awesome… :slight_smile:

1 Like

You can also use dice from Heteroptera addon

random radius.gh (8.6 KB)

1 Like