Notifications
Clear all

[Closed] Access to Vertices of a Bone

Hi there,

I am looking for a way to access the Vertices of a Bone. To be more precisely, I give an example:
I have 2 Boxes (=16 Vertices) and 2 Bones (in fact i have three, but that does not matter). Then I converted the Boxes to a single Mesh and applied the SkinModifier. In the SkinModifier I added the Bones. Now I would like to know, which Vertex is influenced by which bone. So my pseudoCodeScript would look like this:

for i=1 to numBones do
(
print i
print whichVerticesAreInfluencedByBoneNrI
)

and the output should be:

1
1 2 3 4 5 6 7 8
2
9 10 11 12 13 14 15 16

Is there a function “whichVerticesAreInfluencedByBoneNrI” or any way to do this with maxscript? I tried some things with GetVertexWeight, GetVertexWeightBoneID and GetVertexWeightBoneID but was not very successfull :-/

Sorry for my English, I am not a native-speaker and hopefully I mentioned everything to make you understand my problem, without violating netiquette-rules…

Any help or hints would be greatly appreciated!

Kind regards,
Braime