World position of vtx using MVector

import maya.cmds as mc;
from maya.OpenMaya import MVector;
verts = mc.filterExpand( poly + ".vtx[*]", sm=31 );
for vtx in verts:
    pvec = MVector( *mc.pointPosition( vtx ) );

Comments

Popular posts from this blog

HIK: Getting current character and current source.