Timeline playing - MSG or method to get it?
-
Hi all,
Sorry for the dumb question, but, is there a simple way to know in Python if the timeline is playing? I would like to know its state to allows or forbid some UI changes.
I thought at first that there is a message raised when play button has been pressed, but I haven't found anything obvious.
Thanks!
-
Hi @mocoloco you can use
c4d.CheckIsRunning(c4d.CHECKISRUNNING_ANIMATIONRUNNING)
to query the state of the timeline. In C++ there is the method IsAnimationRunning but this is not available in Python therefore I added it, so it should be there in the next release.Cheers,
Maxime. -