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

    python plugin on frame update

    Scheduled Pinned Locked Moved PYTHON Development
    4 Posts 0 Posters 392 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

      On 03/03/2014 at 06:25, xxxxxxxx wrote:

      Hello,

      Is it possible when i press a button a function is called that keeps checking if the time of timeline is changed. So that i can run an other function every time a frame update is called.

      I want to do this to clone an objects global matrix to another object every time timeline changes.

      I know u can do this with python node or tag but that's not the solution I'm searching for. Or can enable/disable a tag with plugin?

      Greets,
      GiMars

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

        On 03/03/2014 at 08:28, xxxxxxxx wrote:

        Hi
        This thread touches that problem : http://forums.cgsociety.org/archive/index.php/t-1090235.html

        Cheers
        Bonsak

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

          On 04/03/2014 at 06:00, xxxxxxxx wrote:

          I got it to work!
          Im using messageData that checks for EVMSG_CHANGE. And made a function that creates a null object with an expresso tag and a python node that is frame dependent that calls c4d.EventAdd() everyframe and that does the job 😄

          Great thread u posted Thanks Bonsak!

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

            On 04/03/2014 at 06:13, xxxxxxxx wrote:

            Yw 🙂

            -b

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