Has anyone successfully dealt with Maya’s animation layers with the API? I realize that animation layers have been implemented totally with scripts and there is no direct API functionality. However, my animation load/save app has been written directly accessing animCurves with the API. Now the animators have discovered they like animation layers and I need to write to them. If there isn’t already an existing curve on a layer when I’m going to apply keys, I’m having an issue creating a curve on the proper plug.
The animLayer -layeredPlug sounds like it should do what I want. But I can’t seem to give it what it likes as input. And grepping through the Maya others scripts, I don’t see anywhere that’s it’s actually being used so I can see an example.