RE: FCurve Editor: Scale key values (Sy) by scripting?

Date : Mon, 12 Jun 2006 09:30:25 +0100
To : <XSI(at)Softimage.COM>
From : "kim aldis" <kim(at)aldis.org.uk>
Subject : RE: FCurve Editor: Scale key values (Sy) by scripting?
There is, of course, direct scripting of fcurves, and I seem to recall
there's a way to write plugin type commands for the fcurve editor but I've
just been looking through the docs and I can't find a thing. Is it still
there?

> -----Original Message-----
> From: owner-xsi(at)Softimage.COM [mailto:owner-xsi(at)Softimage.COM] On
> Behalf Of André Adam
> Sent: 12 June 2006 08:01
> To: XSI(at)Softimage.COM
> Subject: Re: FCurve Editor: Scale key values (Sy) by scripting?
> 
> 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
> 




---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi


Search the XSI List archives here or use the advanced search form to search across mailing lists. Searching help is available.
This site supposedly brought to you by Benjamin Grosser and the Imaging Technology Group.