[Maya][Python] Soft selection weight

Hi,
does anyone knows a way of getting the soft selection weight per component ( vertex in my case ) with pymel or any python way in Maya?

Thanks!

Hi Phantom,

For that, you’ll likely want to use the Maya API. This is how I did it for one of my tools.

(btw, I import maya.OpenMaya as omo because I also import maya.api.OpenMaya as om in my full tool. But I haven’t rewritten this with the new API yet.)

2 Likes

That’s great, I never really used OpenMaya before, always PyMel, but there doesn’t seem to be a way to do it with PyMel so I will use your way instead!

Thank you so much! :slight_smile: