Joint and local coord

Hello

How can i get the local coordinates of any vertex from the base ceated by a joint ?

For exemple i have a rigid skin, the vertices are driven by joints, but i haven't the local coordinates.

Tk u very must !!!

Try this:

proc WSPos()
{
float $WSPos[] =xform -q -ws -t;
print $WSPos;
}


Select your vert, and type WSPos

Hope it helps.

wouldnt

xform -q -ws -t

be sufficent?

Ok for the mel prog, thanks

I have to move a very large number of vertices.
And i would prefer in C++ API maya.
Is it possible ?

Thank u.

I don't want coordinates in the worldSpace but based on the joint.
So i write : xform -q -os -t or cform -q -r -t but i 've got always the same values, the worldSpace ones.