Re: [Maya-Python] MFnAnimCurve building

2017-05-17 Thread Mark Jackson
thanks Alok, I found the issue late last night, turns out on one of the test scenes the tangents had been broken, manually modified, then set locked, so the setAngle was indeed getting the data wrong. As you said if the tangents are unlocked, then the setAngle, then the tangents set locked as

Re: [Maya-Python] MFnAnimCurve building

2017-05-16 Thread Alok Gandhi
Can you be more specific with the type of change? Is it the slope of the tangents, their length or something else that changes? I think setAngle()

[Maya-Python] MFnAnimCurve building

2017-05-16 Thread Mark Jackson
I'm wondering if anybody could shed a light on issues I'm having with setting up animCurves through the API, or more specifically the key Tangents. Basically I've moving our animFormat into API and have pretty much got everything running but one of the regression tests is failing. It seems like