python plugin on frame update



  • 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



  • 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



  • 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 :D

    Great thread u posted Thanks Bonsak!



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

    Yw :)

    -b


Log in to reply