Trigger component: Increase value in steps from 0.01 to 1.00


Trigger Problem.gh (7.1 KB)

Hello everyone,
I was looking for a way to replace a number slider from 0,000 to 1,000. I have also found a solution, but the trigger or the mass addition component keeps running and counts my number beyond 1,000.

My aim is to activate the trigger once by pressing a button and then have it automatically count up the value in steps of 0.01 to a maximum of 1.00 at the intervals I have defined - and then stop automatically.

Do any of you have an idea, a tip or perhaps even a solution?
I’m not yet very familiar with the trigger component and would like to use it to control a small simulation:)

I’ve already checked out GH Counter (GH Counter | Food4Rhino) – in my opinion, it does something similar, but it’s not exactly what I’m looking for.

One way would be to use the data limit option in the Data Recorder component.

1 Like

This old GhPython script seems to meet those criteria:


200330_GHPython_CountTo_01.gh (6.4 KB)

Edit: Captured the video a bit wonky, but you get the idea.

3 Likes

Anemone?

Rhino_A9SjcUokyH

2 Likes

Hello everyone:) I love all the solutions — they are exactly what I was looking for. Thank you so much for your help!