Repeating components with Anemone

Hi there,

I’m not sure if Anemone is the right tool for this, but I want to repeat a certain block of components until the list at the end becomes empty.
Is it possible? I’m not really familiar with looping and can’t figure it out how it works.

Attached a sample file, in brackets, there are the repetitions, please ignore them, I just wanted to show what should come next, when I put the components after the first block again. This is not the only case I would use it, so I don’t know how many times the steps should be repeated, but know only, that until the list becomes empty.

Thanks! (32.9 KB)

just took your def and put it behind the Loop Start and Loop End, looks like it’s working, results are the same :slight_smile:

exit condition is this list Length = zero:

maximum number of repetitions I have used the Length of the initial list of points: (43.7 KB)

1 Like

oh, really cool, thanks a lot! :slight_smile: