|
Which module contains the function performPolyDeleteElements? It doesn’t appear to be in the maya.cmds module. Also, could someone be kind enough to point me to the documentation for that function? The MEL and Python documentations included in Maya don’t seem to have any information regarding it.
|
|
|
|
its actually a script that comes with maya
(check your mayaInstallDir\scripts\others\performPolyDeleteElements.mel)
only way i found it accessible (didnt spend a great deal of time tbh) and i dont advise you do this as ‘eval’ is slow and most of the time needless, but it does works, is;
import maya.mel as mel
mel.eval("performPolyDeleteElements")
it is dirty but i couldnt find another way. the performPolyDeleteElements.mel script itself is fairly simple, just uses filterExpand to get selection and using if’s applys DeleteVertex and/or DeleteEdge scripts, which again have the same issue.
Hope it helps though.
Lee Dunham | Character TD
ldunham.blogspot.com
|
|
|