![]() I will have to try it on some more animations, when we get the problem again. I haven’t tried it before just because I assumed I would lose animation data (read lazy). I will have to check it out next week.ĭude! That script worked perfectly on the scene I tested it on. Mark, good to know you have something for the lost animation problem. NumDeletedConnections = numDeletedConnections + 1 If srcAttr.startswith(animBlendNode+'.') and destAttr.startswith(animBlendNode+'.'): from maya import cmdsĪnimBlendNodeList = cmds.ls(type="animBlendNodeBase")Ĭonns = cmds.listConnections(animBlendNode, source=False, destination=True) or ĬonnAttrs = cmds.listConnections(animBlendNode, source=False, destination=True, connections=True, plugs=True) We didn’t end up using it because of the lost animation, but it was good for telling us exactly where the cycles were. Here is the script to stop Maya from crashing, if the problem is caused by cycles. Look at the Red9 tools to deal with animation mirroring and you might be able to better deal with the code needed for your own mirror animation toolĪlso make sure your Maya copies are updated to latest service pack and you shouldn’t be having layer file corruption problems, not sure what version your in though.ĭon’t use trax, animation layers work fine, maybe have the Animators bake down the layers more often and make sure there isn’t something else going on in the file that is causing the problem. ![]() ![]() What do you guys use at your studio? Do you let the animators use animation layers, and if so, how do you solve all these problems? I talked to an animator about using the Track Editor and all that, but he said that it wasn’t perfect either. So my question, what should I use instead (of animation Layers). But sometime, I get the weirdest results. I try to bake down the animation and most of the time it works. Haha, I thought this worked like a charm until animation layers did say hello. I have some “flip/mirror animation” scripts that basically copies the animation curve from left side to right and back (using PyMels ‘CopyKey’). I must open the MA file in a text editor and delete all the AnimLayer nodes by hand. When you try to select, delete or do anything with the animation layer(s) then Maya crashes, if it is using script editor, viewport, node editor or anything else. Sometimes the animation layer corrupt the file.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |