This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import maya.OpenMaya as OpenMaya | |
import pymel.core as pm | |
import maya.OpenMayaAnim as OpenMayaAnim | |
import maya.cmds as cmds | |
import maya.mel as mel | |
class checkMaxSkinInfluences(object): | |
''' This script takes a mesh with a skinCluster and checks it for N skin weights. | |
If it has more than N, it selects the verts, so you can edit them. |