OK. Trying to use MRichSelection to get a hold on soft selection Data. Here is my process
import maya.OpenMaya as openMaya #attempt 1 softSelection = openMaya.MRichSelection() richSelection = softSelection.getSelection(openMaya.MSelectionList()) #attempt 2 selection = openMaya.MSelectionList() softSelection = openMaya.MRichSelection() softSelection.getSelection(selection) either way I do this it returns # Error: (kFailure): Object does not exist # Traceback (most recent call last): # File "<maya console>", line 4, in <module> # RuntimeError: (kFailure): Object does not exist # Just to note, I do have soft selection turned on and I have vertices selected on a mesh, so this should work if the documentation is correct. --~--~---------~--~----~------------~-------~--~----~ http://groups.google.com/group/python_inside_maya -~----------~----~----~----~------~----~------~--~---
