Hi there,
i basically have two different shaped meshes with identical topology. I want to be able to getPoints from one mesh and setPoints onto the other mesh. The code im using the getPoints however doesn’t seem to store anything. Can someone show me where im going wrong?
def getPoints(geo):
sel = om.MSelectionList()
dag = om.MDagPath()
sel.add(geo)
sel.getDagPath(0,dag)
mesh = om.MFnMesh(dag)
vts=om.MPointArray()
mesh.getPoints(vts, om.MSpace.kObject)
thanks
Sam x