In many ways CPP is easier to work with than jscript or Python. Certainly
the object model is much easier to work with in CPP.
> -----Original Message-----
> From: owner-xsi(at)Softimage.COM [mailto:owner-xsi(at)Softimage.COM] On
> Behalf Of Alan Jones
> Sent: 31 August 2007 15:53
> To: XSI(at)Softimage.COM
> Subject: Re: FCurve.AddKey()
>
> Yeah - I keep forgetting that. I should probably add it to my signature
> ;-)
>
> I wish more people used it, or my python people would pressure for it
> to be completed and given python bindings. This way I've had a
> complete SDK and you all would be able to use your system's python
> with reckless abandon ;-)
>
> Cheers,
>
> Alan.
>
> On 8/31/07, Bernard Lebel <3dbernard(at)gmail.com> wrote:
> > Considering you're among the 1% people of this list using the CPP
> SDK,
> > you might want to specify it somehow when posting questions, Alan. :-
> )
> >
> > Cheers
> > Bernard
> >
> >
> >
> > On 8/31/07, Alan Jones <skyphyr(at)gmail.com> wrote:
> > > Hi Serguei,
> > >
> > > The C++ one is declared differently.
> > >
> > > LONG AddKey ( const CTime & in_frame,
> > > const CValue & in_value,
> > > siFCurveKeyInterpolation in_interp = siDefaultKeyInterpolation,
> > > double in_ltx = DBL_MAX,
> > > double in_lty = DBL_MAX,
> > > double in_rtx = DBL_MAX,
> > > double in_rty = DBL_MAX,
> > > double in_tol = DBL_MAX,
> > > bool in_okl = false
> > > )
> > >
> > > Cheers,
> > >
> > > Alan.
> > >
> > > On 8/31/07, Serguei Kalentchouk <serguei.kalentchouk(at)ubisoft.com>
> wrote:
> > > > I'm a bit confused because the AddKey method looks like this:
> > > > FCurve.AddKey( [Frame], [Value], [Tolerance], [Overwrite] )
> > > > I'm not sure which method you are using?
> > > >
> > > > -----Original Message-----
> > > > From: owner-xsi(at)Softimage.COM [mailto:owner-xsi(at)Softimage.COM] On
> Behalf
> > > > Of Alan Jones
> > > > Sent: August 31, 2007 6:11 AM
> > > > To: xsi(at)Softimage.COM
> > > > Subject: FCurve.AddKey()
> > > >
> > > > Hi All,
> > > >
> > > > This line is not doing what I expected.
> > > >
> > > > newCurve.AddKey(0.0f, 0.0f, siDefaultKeyInterpolation, -0.5, 0,
> 0.3,
> > > > 0.3);
> > > >
> > > > I imagined that the left and right handles were just time and
> value
> > > > entries, but given the results I get - it seems not. I get just
> the
> > > > same as if I'd just done newCurve.AddKey(0.0f, 0.0f);
> > > >
> > > > Thanks for any suggestions.
> > > >
> > > > Cheers,
> > > >
> > > > Alan.
> > > > ---
> > > > 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
> > > >
> > > ---
> > > 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
> >
> ---
> 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