Re: Set fcurve to cycle

Date : Mon, 12 Feb 2007 15:26:19 +0100
To : XSI(at)Softimage.COM
From : "Arvid Björn" <arvidbjorn(at)gmail.com>
Subject : Re: Set fcurve to cycle

Thanks! I'm sure it is :-p

But I need a manual for the manual... =) I always have a lot of problem finding what I need even tho I know exactly what I'm looking for...


On 2/12/07, Juan Brockhaus <Juan(at)glassworks.co.uk> wrote:
var my_constr = my_object.Kinematics.AddConstraint( "Path", my_crv );
 
'my_crv' is the curve you want to constrain to.
 
cheers,
 
Juan
 
ps: it's in the docs, too ;-)
 
 
-----Original Message-----
From: Arvid Björn [mailto:arvidbjorn(at)gmail.com]
Sent: 12 February 2007 13:40
To: XSI(at)Softimage.COM
Subject: Re: Set fcurve to cycle


Thanks! The SDK is still a jungle to me no matter how many times I've used it.. =)

By the way, is there an object model way to create a path animation?

-a

On 2/12/07, Juan Brockhaus <Juan(at)glassworks.co.uk> wrote:
hi,
 
you have to get you fcurve as an object in your script.
something like:
 
var my_crv = your_object.Kinematics.Constraints("PathCns").perc.Source;
then you can use the property of a fcurve, f.e.:
 
my_crv.Extrapolation = siPeriodicExtrapolation;
 
 
check also the sdk doc,
 
cheers,
 
Juan
 
 
-----Original Message-----
From: Arvid Björn [mailto:arvidbjorn(at)gmail.com]
Sent: 12 February 2007 13:15
To: xsi(at)Softimage.COM
Subject: Set fcurve to cycle


Hey everyone,

How can I set an existing fcurve to "cycle" instead of the default "constant extrapolation" through jscript?
The curve is created by an ApplyPath() in the script.


Thanks,
-Arvid

--
stockholm.postproduction | www.stopp.se

--
stockholm.postproduction | www.stopp.se


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.