Last time I had been into fcurve scripting the FCurve Editor turned out
to be a blackbox. At that time fiddling around with the fcurves
themselves as you already did was the only option.
-André
Markus Daum wrote:
Hi everybody,
I wonder if there is a way to somehow access the functionality in the
FCurve Editor by scripting, that allows you to scale all selected keys
(or all keys of a selected fcurve) by a certain value? I mean the
method / command that is connected to the "Sy" field in the FCurve
Editor UI. The beauty of this thing is, that is automatically scales
all tangents of the affected keys accordingly.
I wrote a little script that does the scaling for all keys of an
fcurve one by one, but for heavier animation (i.e. many fcurves with
many keyframes) it's rather slow and some people still claim that my
script doesn't scale the tangents properly in all cases (which is
obviously just an user error ;-).
Have a nice weekend!
Cheers,
Markus
--
Markus Daum
Animation TD
Character Dpt - Animal Logic Film
---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi