Kurian ... Thanks ... my code was actually self.ui.pgr_copy_files.setValue 
= bar_val

brain fart i guess .. your response helped me pick it out ...

thanks !!


On Monday, July 21, 2014 5:51:41 PM UTC-4, md wrote:
>
> Hey guys
>
> I have a couple functions where I am copying files. I want to update a 
> progressbar on my form. Here is the basic code (this is inside a function 
> on the form) :
>
> inc_val = (100 / hi_val - low_val )
>
> bar_val = 0 
> for f_no in range(low_val,hi_val):
>
> bar_val += inc_val
> self.ui.pgr_copy_files.Value = bar_val
>
>
> The value is incrementing .. I am checking with a print statement ... but 
> the bar is not updating.
>
> what am I doing wrong ?
>
> thanks !
>

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to python_inside_maya+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/c734e2c4-edd9-4271-8314-0d01823c3dc0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to