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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to