Do they know about the Q tool in the FCurve editor?
You can access the selected fcurves I believe from finding the FCurve
editor View object from the Views collection. Then you can use the
GetAttributeValue for the selected fcurves (look up in the docs for the
correct argument to pass).
On August-29-13 10:49:34 AM, Michael Heberlein wrote:
Hey gang,
I would like to write a simple tool that locally scales selected keys
from multiple fcurves (relative to each curve's start/average/end
value), as one of our animators convinced me it would speed up his
daily work alot.
Is this possible at all? I could not find a way to get the selected
curves and keys via scripting or the SDK. "Custom Tools" also seem to
work in the 3D views only. Am I missing something or is the FCurve
Editor just not customizable?
Another thing is, I'd like to add a custom menu to the FCurve Editor
that provides easy access to features like, for example,
absolute/relative pasting (hidden in the preferences) but had no luck
again: There's no appropriate menu anchor point available.
Thanks,
Michael