It's the most recent download, 1.0.2

On Apr 19, 1:19 pm, Ofer Koren <[email protected]> wrote:
> Which version of pymel is this?
>
> - Oferwww.mrbroken.com
>
> On Mon, Apr 19, 2010 at 12:51 PM, shawnpatapoff 
> <[email protected]>wrote:
>
>
>
> > Just did a bit more testing.
>
> > If I create a joint:
> > j=ls(createNode('joint', ss=True))[0]
>
> > Then select it, then run:
> > setAttr(j.radius, .5)
>
> > The UI and the channelBox are updated
>
> > If I do the same thing but run:
> > j.setRadius(.5)
>
> > Neither the UI or the channelBox are updated.
>
> > I can refresh the UI using refresh(force=True), that still doesn't
> > update the channelBox.
> > I would expect setAttr to work the same way
> > as .set(whateverAttribute). Am I possible doing something wrong?
>
> > Cheers,
> > Shawn
>
> > On Apr 19, 11:47 am, shawnpatapoff <[email protected]> wrote:
> > > excellent, thank you.
>
> > > On Apr 19, 11:27 am, Ofer Koren <[email protected]> wrote:
>
> > > > Try this:
>
> > > > pm.refresh(force=True)
>
> > > > - Oferwww.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
>
> > > --http://groups.google.com/group/python_inside_maya
>
> > --
> >http://groups.google.com/group/python_inside_maya
>
> --http://groups.google.com/group/python_inside_maya

-- 
http://groups.google.com/group/python_inside_maya

Reply via email to