you can always use self.getChildren(shapes=True)

On Aug 5, 2009, at 8:26 AM, Michael Lyndon wrote:

>
> Hey guys,
>
> I'm using pymel and loving it.  I currently have more than one shape
> connected to an object.  When I run self.getShape() it returns the
> first shape in the list.  What would be the best way to add something
> like self.getShapes() to return all shapes on an object?  I don't want
> to modify the original general.py file. Is there a way to create a
> new, separate file?
>
> Thanks in advance.
>
> Mike.
>
> >


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

Reply via email to