Hey Matthew, How are you doing.
you can copy UV to target`s intermediate mesh and you don`t have to worry about history too much. On Thu, May 8, 2014 at 10:48 AM, matthew park <[email protected]> wrote: > Hi great helpers out there, > > Currently I am trying to transfer a uv set from one to the other object > and don't want to leave any history, because Delete Nondeformhistory breaks > my rig. > I try to use MayaAPI but still have to create the transfer node if the uv > number is different. > Is there any smater way that meets every condition I want? > > Thanks a lot! > > mfn_mesh = OpenMaya.MFnMesh(mesh_mObj) > for uv_set, uv_arrays in uv_dict.items(): > mfn_mesh.setUVs(uv_arrays[0], uv_arrays[1], uv_set) > > > M > > -- > 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/CAMczULaxkcOhaqXwNOExu4gL2exgDVCuQKPnufEaRc3_h%2BVW0w%40mail.gmail.com<https://groups.google.com/d/msgid/python_inside_maya/CAMczULaxkcOhaqXwNOExu4gL2exgDVCuQKPnufEaRc3_h%2BVW0w%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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/CAF_Qs66PR93GcosMrCiF9rWED7HTj44T62dMSqGnuAHv5vJRAg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
