Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Recent
    • Tags
    • Users
    • Login

    Animation

    Scheduled Pinned Locked Moved SDK Help
    4 Posts 0 Posters 245 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H Offline
      Helper
      last edited by

      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

      1 Reply Last reply Reply Quote 0
      • H Offline
        Helper
        last edited by

        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

        1 Reply Last reply Reply Quote 0
        • H Offline
          Helper
          last edited by

          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

          1 Reply Last reply Reply Quote 0
          • H Offline
            Helper
            last edited by

            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 is TRUE[URL-REMOVED] the direction is set to forward, otherwise it's set to backward.
            >
            > Bool stop
            >
            >> If this is TRUE[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.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post