self.ui.pgr_copy_files.setValue(bar_val) not self.ui.pgr_copy_files.setValue = bar_val
I think that's going wrong. On Mon, Jul 21, 2014 at 3:00 PM, md <accou...@mdonovan.com> wrote: > Kurian ... thanks .. but I actually made a typo when typing the question > ... In my code it is self.ui.pgr_copy_files.setValue = bar_val > > still it does not update. > > > 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/5e810256-d6a0-4553-916d-c20937563d7f%40googlegroups.com > <https://groups.google.com/d/msgid/python_inside_maya/5e810256-d6a0-4553-916d-c20937563d7f%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- --:: Kurian ::-- -- 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/CANEMyhM8RHSTJtDvy36XcvVOAOKT5rgTYWb-hMBJZZ5C_CfzDg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.