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.cmds as cmds | |
import maya.OpenMaya as omo | |
# (Open Maya Old) | |
def soft_selection_weights(): | |
''' create and return a list of the soft selection weights ''' | |
#TODO: Would be nice to rewrite this using the new API. Low priority. | |
#TODO: Debug on multiple selections | |
# temporary hack. Turn off symmetry when reading MRichSelection until I learn to use symmetry. |