We have a script for nudging keys that was originally written by Rudiger (rt_). It was written before Anime Studio 10, and when it's used on keys with bezier curves it doesn't retain the position of the bezier handles, they revert to defaults. I assume this is because the command used for getting bezier information doesn't actually get all the information necessary when setting a new key.
class InterpSetting {
...
real BezierOutAngle(int32 component);
void SetBezierOutAngle(int32 component, real angle);
real BezierInAngle(int32 component);
void SetBezierInAngle(int32 component, real angle);
real BezierOutPercentage(int32 component);
void SetBezierOutPercentage(int32 component, real percent);
real BezierInPercentage(int32 component);
void SetBezierInPercentage(int32 component, real percent);
But I'm a little unclear with how I'd get access to an instance of the class to actually use those methods? As far as I can see there isn't a method to use on the animation channel to get it to provide me with each InterpSetting object. The settings being accessed so far were with a method built into the animation channel itself.
Is this something I'd need to edit into the actual moho_pkg to make it work?
Ah, you were right! That has given me access to the InterpSetting object. Now I just need to make sense of the BezierInAngle parameter and return value. Thanks!