Can't you just duplicate it and make an instance? On Wed, Mar 11, 2009 at 10:46 AM, Omar Agudo <[email protected]> wrote:
> > Hi, > > I am trying to copy a mesh in order to save memory. What is the best > way to do that? > > import maya.OpenMaya as om > > ................... > > m1 = om.MFnMesh() > > ................... > > obj = om.MObject() > obj = > > m1.create(arrayPoints.length(),vertexPolig.length(),arrayPoints,vertexPolig,conexPolig) > > now I want to copy the m1 mesh to another m2 mesh that contains > exactly the same vertices, normals, connections, ..... > > Thank you for your help! > > Omar. > > > > -- www.chadvernon.com --~--~---------~--~----~------------~-------~--~----~ http://groups.google.com/group/python_inside_maya -~----------~----~----~----~------~----~------~--~---
