that's a tricky one. i'll have to take some time to look it over.

-chad


> So I finally took the time to look at pymel ... WOW! I mean WOW! I had
> no Idea it was this powerful! I knew it would be nice, but not like
> that. I am extremely impressed and pleased. Great work guys...really
> great!
>
> Now for my question.
> I am looking at a way of getting all the poly shells from a mesh.  I
> have this function I did in the standard python for maya that does the
> following.
> 1) list all the faces of the mesh,
> 2) select the first face, grow the selection to shell (using the
> polySelect(extendToShell=True) function),
> 3) list the selected faces of that shell
> 4) store those faces in a list,
> 5) remove those faces from the list created at #1
> 6) repeat step 2 to 5 until the first list is empty.
>
> It works but the function selects the faces in the UI, and I quite
> dislike it.
>
> Any idea how I could improve that using pymel?
>
> Thanks
>
> >


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

Reply via email to