Ah excellent, thank you

On Apr 17, 12:13 am, Ofer Koren <[email protected]> wrote:
> you can create any node type of node using the 'createNode' command, which
> takes a -skipSelect flag:
>
> import maya.cmds as mc
> newJoint = mc.createNode('joint', ss=True)
>
> - Oferwww.mrbroken.com
>
> On Fri, Apr 16, 2010 at 10:59 PM, stephenkmann <[email protected]>wrote:
>
>
>
> > I don't have maya up in front of me but I thought the joint command
> > had a flag for " do not select". I know some of the creation commands
> > do
>
> > -s
>
> > On 4/17/10, Melvin3D <[email protected]> wrote:
> > > try simple "select -clear" that should drop anything active.
> > > Cheers
>
> > > On Apr 16, 7:09 pm, shawnpatapoff <[email protected]> wrote:
> > >> Title says it all. I'm constantly clearing the selection when I create
> > >> joints through script so they don't get parented to the next joint I
> > >> create. Does anyone know of a way to stop maya from automatically
> > >> selecting an object when you create it via script?
>
> > >> Cheers,
> > >> Shawn
>
> > >> --http://groups.google.com/group/python_inside_maya
>
> > > --
> > >http://groups.google.com/group/python_inside_maya
>
> > --
> > Sent from my mobile device
>
> > -=s
>
> > --
> >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