Animation
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 22/03/2011 at 05:27, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 11.5
Platform: Windows ;
Language(s) : C++ ;---------
Hello,I'm searching for a command, to get the information if the animation is running or not.
And maybe, if a command exist to start or stop the animation !thanks
Marky -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 23/03/2011 at 06:37, xxxxxxxx wrote:
Howdy,
To check if the animation is running you can use:
if(CheckIsRunning(CHECKISRUNNING_ANIMATIONRUNNING))
... and these should control the animation play:
CallCommand(12411); // Play Backwards CallCommand(12412); // Play Forwards CallCommand(12002); // Stop Play
Adios,
Cactus Dan -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 23/03/2011 at 07:06, xxxxxxxx wrote:
grandiose, it works
thanks a lot
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 24/03/2011 at 08:10, xxxxxxxx wrote:
Howdy,
You're welcome.
You can also use this global function from c4d_basedocument:
void RunAnimation(
BaseDocument
[URL-REMOVED]* doc, Bool forward, Bool stop)_<_h4_>_Controls the animation in the active document doc. <_<_h5_>_h5> _Paramet_ <_h5_>_i>
>BaseDocument
[URL-REMOVED]* doc
>
>> The document to control. Usually\_tivevoid">GetActiveDocument()
[URL-REMOVED]. The caller owns the pointed object.
>
> Bool forward
>
>> If this isTRUE
[URL-REMOVED] the direction is set to forward, otherwise it's set to backward.
>
> Bool stop
>
>> If this isTRUE
[URL-REMOVED] the animation is stopped, otherwise it's running.Adios,
Cactus Dan
[URL-REMOVED] @maxon: This section contained a non-resolving link which has been removed.