Hi!

I am trying to make a progress bar but with no success.
I took a look at the code in the guide

http://docs.thefoundry.co.uk/nuke/63/pythondevguide/basics.html#creating-progress-bar-dialogs

But I am clearly missing something.
Could someone kindly explain it to me in an easier way?
Imagine I have a function like this:

def dummy():
    for n in nuke.allNodes('Read'):
        print 'here my super slow function'

where and how should I implement the progress bar?
should I use the code from the example and then call the whole funciont in
a new thread? like

threading.Thread( None, dummy ).start()

Thanks for your time

-- 
*Luca Fiorentini - 3D Lighting Artist*
My Showreel <http://www.vimeo.com/lucafiorentini/reel> - My
blog<http://lucafiorentini.wordpress.com>- My
Flickr <http://www.flickr.com/photos/lucafiorentini>
_______________________________________________
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