Re: [Nuke-python] progress bar

2012-09-18 Thread Alvaro Castaneda
iogo Girondi > > *To:* Howard Jones ; Nuke Python discussion < > nuke-python@support.thefoundry.co.uk> > *Sent:* Tuesday, 18 September 2012, 21:18 > > *Subject:* Re: [Nuke-python] progress bar > > I usually take the same approach as Alvaro. I pre-process things to the > ge

Re: [Nuke-python] progress bar

2012-09-18 Thread Howard Jones
Thanks - nice to know it wasn't a dumb question ;) I'll try the os.walk().next() I think   Howard > > From: Diogo Girondi >To: Howard Jones ; Nuke Python discussion > >Sent: Tuesday, 18 September 2012, 21:18 >Subject: Re: [Nuke-

Re: [Nuke-python] progress bar

2012-09-18 Thread Diogo Girondi
hoping to avoid > > > Howard > > -- > *From:* Alvaro Castaneda > *To:* Howard Jones ; Nuke Python discussion < > nuke-python@support.thefoundry.co.uk> > *Sent:* Tuesday, 18 September 2012, 20:36 > > *Subject:* Re: [Nuke-python] progress bar > > > y

Re: [Nuke-python] progress bar

2012-09-18 Thread Howard Jones
Yes but that means walking twice which was something I was hoping to avoid   Howard > > From: Alvaro Castaneda >To: Howard Jones ; Nuke Python discussion > >Sent: Tuesday, 18 September 2012, 20:36 >Subject: Re: [Nuke-python] progress b

Re: [Nuke-python] progress bar

2012-09-18 Thread Alvaro Castaneda
m:* Luca Fiorentini > *To:* Nuke Python discussion > *Sent:* Tuesday, 18 September 2012, 18:56 > *Subject:* Re: [Nuke-python] progress bar > > Thanks Nathan! > > Now it is way clearer and works like a charm! > > Kudos :) > > On Tue, Sep 18, 2012 at 7:34 PM, Nathan Rusch

Re: [Nuke-python] progress bar

2012-09-18 Thread Howard Jones
n the walk? Cheers Howard > > From: Luca Fiorentini >To: Nuke Python discussion >Sent: Tuesday, 18 September 2012, 18:56 >Subject: Re: [Nuke-python] progress bar > > >Thanks Nathan! > >Now it is way clearer and works like a cha

Re: [Nuke-python] progress bar

2012-09-18 Thread Alvaro Castaneda
t; return >> task.setProgress(int(i * progIncr)) >> task.setMessage(r.fullName()) >> # Placeholder for some long per-node process >> time.sleep(2) >> >> def aMenuCommand(): >> # This is the function you would

Re: [Nuke-python] progress bar

2012-09-18 Thread Luca Fiorentini
t; > -Nathan > > > *From:* Luca Fiorentini > *Sent:* Tuesday, September 18, 2012 10:19 AM > *To:* nuke-python@support.thefoundry.co.uk > *Subject:* [Nuke-python] progress bar > > Hi! > > I am trying to make a progress bar but with no success. > I took a look at the

Re: [Nuke-python] progress bar

2012-09-18 Thread Nathan Rusch
threading.Thread(target=dummy).start() -Nathan From: Luca Fiorentini Sent: Tuesday, September 18, 2012 10:19 AM To: nuke-python@support.thefoundry.co.uk Subject: [Nuke-python] progress bar Hi! I am trying to make a progress bar but with no success. I took a look at the code in the guide http:/

[Nuke-python] progress bar

2012-09-18 Thread Luca Fiorentini
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 h