Nice. That cmds way is probably better, unless you're using PyMel already.
"findRelatedSkinCluster" is a MEL script (you can find it on your PC) that
works much better than my simple "listRelatives" call.
I had forgotten about cmds.skinPercent.
I'm suspicious of "objName =
cool! thanks!
I actually posted in the autodesk forum too and I got an interesting
snippet there too, so I thought I'd post that here
https://forums.autodesk.com/t5/maya-programming/how-can-i-find-a-bone-from-a-vertex/m-p/7927115
thanks for the help!
On Wednesday, 11 April 2018 14:58:40
Boo, sorry, wrong printout!
It's more like this:
pCylinderShape1.vtx[16:17]
pCylinderShape1
skinCluster1
Vert: 16
joint1 0.0163752022203
joint2 0.933793770143
joint3 0.0495594248894
joint4 0.000271602747264
On Thursday, 12 April 2018 07:58:40 UTC+10, Michael Boon wrote:
>
>
PyMel is probably the most straightforward because you can use the API
command influenceObjects and then read the weightList from an attribute.
Using the API would be much faster if your rig is complex.
Using cmds...I'm sure someone else knows how to get the influence objects
from an attr. It's