Hi everyone,

Got a question, I'm thinking about making a script that logs the amount of
time my artist are really working in a specific comp. So I need a way to
detect if they are doing anything in the comp like changing parameters,
moving nodes, moving vertices of roto etc.

I've found that I can log some of these things by adding a function to
updateUI but this one isn't triggered when you move to a new frame or move a
node around.

Does anyone have an idea how to pull this off? Or if there are any other
functions that can be useful?

Thanks!

Greetings!
Kasper




On Wed, Sep 14, 2011 at 11:34 PM, Javier Garcia <[email protected]> wrote:

> Hi,
>
> I need to trigger the autolabel callback from other callback, for example:
>
>
> def onInputChangeCallback():
>
> nuke.frame( nuke.frame() + 1 )
>
> # this line will trigger the autolabel callback but also will change the
> current frame, nuke.frame( nuke.frame() ) doesn´t work.
>
>
>
> def autolabelCallback():
>
> if node_input == XX:
>
> return 'XXXX'
>
> else:
>
> return 'YYYY'
>
>
>
>
> thanks.
>
> J
>
>
>
> _______________________________________________
> Nuke-python mailing list
> [email protected], http://forums.thefoundry.co.uk/
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
>
>
_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

Reply via email to