i'm not following how use ui type progressbar in pymel.
the old way, or derivative of this:
cmds.progressbar('barname', edit=1, progress=50)
however can't seem figure out how use pymel version of this.
this i've tried:
progressbar('barname').setprogress(50)
this doesn't work obviously, i'd rather use pymel version, it's cleaner , easier read.
you have specify module progressbar()
from. here it's ui.
ui.progressbar('mypbar').setprogress(50)