Hello I’m trying to get vertex local position. Actually I can get them with this:
xPos = cmds.getAttr("pPlane2.vtx[5].pntx")
yPos = cmds.getAttr("pPlane2.vtx[5].pnty")
zPos = cmds.getAttr("pPlane2.vtx[5].pntz")
print xPos, yPos, zPos
But what I’m looking for is something like xform command. I have tried both, xform and pointPosition but what I’m getting is worldSpace position of vertexes
curPointPosition = cmds.xform( "pPlaneShape1.pnts[5]", query=True, translation=True, worldSpace=False )
print curPointPosition
cmds.pointPosition( 'pPlaneShape1.vtx[5]', local=True)