Transfer UVs to the intermediate shape and freely clean the history of the intermediate shape node, you would be surprised when you see that it didn't break your rig.
Also as suggested use caches, it will make your pipeline flexible. But alembic will carry uvs, so you need to update your rig and the best way is the intermediate shape trick. On May 9, 2014 7:41 PM, "Andres Weber" <[email protected]> wrote: > You could do a few things...if your rig is wonky and you cheated a bit to > fit something in there then you can just make a new duplicate mesh, > transfer the UVs to that and then delete history. Then match the binds > between the two objects and transfer weights. Now delete your old mesh and > your new one is the correct mesh you wanted. > > Alternatively you could start a geometryCaching pipeline wherein you just > have a render mesh and a rig mesh and the rigged mesh just creates a > geometry cache that applies to the render mesh after it's animated. In > this situation you wouldn't care about history etc on the render mesh and > could do any UVing you please on it. > > Otherwise Artonator's solution DOES work in this situation...from what I > can tell. You seem to have a pretty specific situation with inherent > problems that I'm not aware of so I can't fully advise since I don't have > the full story. There's many other things you could do but it's not worth > listing everything under the sun... > > On Thursday, May 8, 2014 1:48:26 PM UTC-4, matthew 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/30c1a0eb-adf1-4fc0-99bb-9cdc9b6e2f32%40googlegroups.com<https://groups.google.com/d/msgid/python_inside_maya/30c1a0eb-adf1-4fc0-99bb-9cdc9b6e2f32%40googlegroups.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/CAGNmyx4CNrdZyJ2uq4oSHB64w451R205xyaU4Vpn1b%2BwXWSJ%3Dw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
