You can use mglobal.getRichSelection to get the soft selection and the
corresponding weights

Sent from my Windows Phone
------------------------------
From: Sebastian Schoellhammer
Sent: Monday, July 04, 2011 3:21 PM
To: [email protected]
Subject: [Maya-Python] query soft selection

Hello!

Is there any way of querying the components affected in the current
softselection?

If I can't what would be the best way to calculate them myself? Checking
against all positions in the mesh must be superslow of course.
I'm sure maya is using some acceleration structures internally to speed this
up?

I guess I could grow the selection a couple of times and just use those
components but thats wacky and wouldn't work for a volume..
Any ideas?

Thanks!!

seb

-- 
view archives: http://groups.google.com/group/python_inside_maya
change your subscription settings:
http://groups.google.com/group/python_inside_maya/subscribe

-- 
view archives: http://groups.google.com/group/python_inside_maya
change your subscription settings: 
http://groups.google.com/group/python_inside_maya/subscribe

Reply via email to