You are correct sir. On Apr 23, 1:04 am, Ofer Koren <[email protected]> wrote: > As far as I know the only way to do that is through an API call... > > curious - what is the 'ls' for? aren't you getting a valid object from the > 'createNode' function? > > - Oferwww.mrbroken.com > > On Thu, Apr 22, 2010 at 11:26 AM, shawnpatapoff > <[email protected]>wrote: > > > > > Is there anyway around Maya selecting the object that you're parenting > > when using setParent? Ideally I would like to do this: > > > a = ls(createNode('transform', ss=True)) > > b = ls(createNode('transform', ss=True)) > > > b[0].setParent(a) > > > without 'b' being reselected. > > I can of course clear the selection if I need to. Would be nice if > > there was a hook in setParent(ss=True) > > > 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
