Try this: pm.refresh(force=True)
- Ofer www.mrbroken.com On Mon, Apr 19, 2010 at 10:54 AM, shawnpatapoff <[email protected]>wrote: > Not sure if this is in the pymel docs. How do I force a maya refresh > and viewport redraw when manipulating objects via pymel. > > Right now I'm running this: > j=ls(createNode('joint', ss=True))[0] > j.setRadius(.5) > > Nothing gets updated until a selection is made, UI and the visible > radius of the joint. Do I have to tell maya to update? > > Cheers, > Shawn > > -- > http://groups.google.com/group/python_inside_maya -- http://groups.google.com/group/python_inside_maya
