I’m trying to use the reorderDeformers command to put a blendShape node in the correct spot in the Inputs stack. However, that command requires that I know which deformers I want to reorder. I can’t find any non-ridiculous way of simply listing all deformers on a mesh.
The closest thing I’ve come up with is doing a listHistory on the object and then cross-checking the results with a list of deformer types. Even this though requires that I have a giant list of all deformer types to compare it to. It just seems dirty.
Any suggestions?
Edit: Based on this thread, got this working: http://www.scriptswell.net/2010/09/mel-list-all-deformers-on-mesh.html