yeah that's nice

pymel ...

I should meet with you guys on Sunday

Yury



On Wed, Mar 18, 2009 at 12:00 PM, IanJones <[email protected]> wrote:

>
> Alternative in pymel via api:
>
> from pymel import *
>
> skin = PyNode('skinCluster1')
> influnces = skin.getInfluence(q=True)
> vert_list, values = skin.getPointsAffectedByInfluence(influnces[0])
> vert_list = vert_list.getSelectionStrings()
>
> index = 0
> for vtxs in vert_list:
>         vtxs = PyNode(vtxs)
>        for vert in vtxs:
>                print vert, values[index]
>                index += 1
>
> bodyShape.vtx[961] 0.5
> bodyShape.vtx[962] 0.5
> bodyShape.vtx[1459] 0.5
> bodyShape.vtx[1460] 0.5
> bodyShape.vtx[1477] 0.016
> bodyShape.vtx[1484] 0.036
> bodyShape.vtx[1833] 0.016
> bodyShape.vtx[1880] 0.015
> bodyShape.vtx[1900] 0.5
>
> On Mar 18, 12:53 am, "sim.On" <[email protected]> wrote:
> > wow chadrik ,
> >
> > that loooks super-easy . great work !!!
> >
> > sim.On
> >
>

--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/python_inside_maya
-~----------~----~----~----~------~----~------~--~---

Reply via email to