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
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    frame change

    Scheduled Pinned Locked Moved SDK Help
    5 Posts 0 Posters 375 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 14/03/2008 at 09:58, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   10.5 
      Platform:      
      Language(s) :   C.O.F.F.E.E  ;

      ---------how can I call a hook or get a message every time the frame is advanced one position?  using COFFEE

      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 14/03/2008 at 18:01, xxxxxxxx wrote:

        Maybe there is a better method but I had to do something similar
        and then stored the current frame and then compare it with the next cycle
        (any action) and it seems to work fine.

        Cheers
        Lennart

        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 17/03/2008 at 12:22, xxxxxxxx wrote:

          Thanks Lennart,  I am currently using the Timer() which works for my application if I am playing the animation in hte editor, but if I walk through frames individualy my time change will be different then the system time change.  So for this scenario I am backing the time out of the Frame value.  I am going to use your work around and manually call the function and look at the Frame values, but it isn't as cool or useful as getting that value every time a frame is advanced.  And it seems like this would be useful in other situations.  I'm thinking that the system must use this message to redraw every time a frame is advanced.

          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 17/03/2008 at 13:48, xxxxxxxx wrote:

            I can't say I fully understand what you need. I can only say that the way I'm
            doing it is not manually.
            I have a const var ID that I store the initial frame. I then compare that
            initial frame with the current and restore it again ( former current or current,
            whichever is true.)
            If both are the same I don't call my (other)function(s), if they differ I call my function(s) and restore the current frame.

            Most likely I do miss what you are looking for......

            Cheers
            Lennart

            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 17/03/2008 at 14:00, xxxxxxxx wrote:

              Thanks Again Lennart,  I'm going to use your method, it isn't exactly what I'm looking for but close enough.  Thanks

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