I'm trying to make a copy of my inputGeom

MObject myInputGeomMesh = 
inArrayHandle.outputValue().child(inputGeom).asMesh();
MFnMesh tCopyMesh;
MFnMeshData inputFnMeshData;
MObject copyMeshObj = inputFnMeshData.create();
tCopyMesh.copy(myInputGeomMesh, copyMeshObj);

I'm then hooking this into an attribute I've created that accepts kMesh, 
but the issue I'm seeing, is when I update the positions on this mesh, 
since it's only in memory Maya isn't updating anything else about the 
surface.  I'm trying to figure out how to make and actual copy of the mesh, 
similar to the ShapeOrig, so that I can do what I need to this mesh, and 
have it update as expected.  Any help would be great.


-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/9b0fc39d-363a-42ef-83a9-bf7e2acf337d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to