Hi guys. I'm trying to query all the polygon shells on a mesh without selecting them, (not the number of shells, the actual components per shell)
cmds.polySelect(expandToShell=1) will select the shells and this is causing maya to be unstable and of course it's quite slow. is it possible somehow to do it with the API ? I've been trying iterating through the polygon with MItMeshPolygon and then getConnectedFaces for every face, but seems not very optimal, as I have to do it for each face and then traverse it again to detect which ones are part of the shell. -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/7ffe7299-423c-459d-87d0-894b342eb694n%40googlegroups.com.
