Dynamo Number Counter

Is there a way to generate random numbers every second or even count to 20 and back down going up by intervals of 1 every second

What exactly are you after? You would have to do this in Periodic mode, which has its own challenges. Do you actually want to run something continually? If so, why with Dynamo?

3 Likes

Hi @gavin.hazlet, try this Can I use matplotlib in Dynamo? - #10 by Drbohlav

1 Like

Just for fun, I am playing around with what dynamo can do.

1 Like

Sadly, I am working with the revit API, and cannot use the matplotlib library

You’ll need to run Dynamo in Periodic mode. This gives you access to DateTime nodes and continuous runs. Just be careful that you can easily get stuck in an infinite loop if you’re tying this to anything in Revit.

2 Likes

I always thought that placing a DateTime node on the canvas gave me access to the Periodic feature :slight_smile:

2 Likes

Good point. :grin:

You have to add a DateTime node to the canvas to make Periodic mode accessible, but then you still have to change to Periodic mode to make those nodes useful for a continuous process.

1 Like

I fumbled with the DateTimeNow node and had a link to all the options somewhere
Can’t seem to find it anymore
I fumble with the software, yes, that’s how i learn
Beat that ChatGPT :slight_smile: