I’m going to suggest you reconsider, unless I’m completely misreading the 
intended purpose of this script. If any of your artists find out you’re doing 
something like this (even if you’re able to make it a reliable source of 
information, which I’m not sold on), they will likely resent and distrust you. 
If you suspect you’ve got artists who are legitimately slacking off on the job, 
just go talk to them.

Plus, they could just write a simple loop to make it look like they’re working.

-Nathan



From: Kasper Oerlemans 
Sent: Thursday, September 22, 2011 8:13 AM
To: Nuke Python discussion 
Subject: Re: [Nuke-python] detect idle time

I think I will start the counter after 10 minutes of idle time, that should be 
enough to all those things you mention ;-) 

Groetjes!
Kasper





On Thu, Sep 22, 2011 at 3:31 PM, Howard Jones <mrhowardjo...@yahoo.com> wrote:

  Dont know but I'd be interested to know how you will be able to log little 
things like creative thought, problem discussions and overall shot reflection 
time, which in my experience go a bit towards the actual result ;)


  Howard



----------------------------------------------------------------------------
    From: Kasper Oerlemans <kasper.oerlem...@gmail.com>
    To: Nuke Python discussion <nuke-python@support.thefoundry.co.uk>
    Sent: Thursday, 22 September 2011, 14:02
    Subject: [Nuke-python] detect idle time


    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 <jav...@gmail.com> 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
      Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
      http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python




    _______________________________________________
    Nuke-python mailing list
    Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
    http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python




  _______________________________________________
  Nuke-python mailing list
  Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
  http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python





--------------------------------------------------------------------------------
_______________________________________________
Nuke-python mailing list
Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
_______________________________________________
Nuke-python mailing list
Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

Reply via email to