Re: Accessing Rotation fcurves

Date : Tue, 19 Sep 2006 11:29:16 +0100 (BST)
To : XSI(at)Softimage.COM
From : "Andy Nicholas" <andy(at)andynicholas.com>
Subject : Re: Accessing Rotation fcurves
Hi Morgan,

You can use this:

Selection(0).kinematics.local.rotx.source

Generally, you should always specify the local or global kinematic state.
Otherwise it won't be obvious to someone reading it, which you're trying
to access unless they happen to know that using "posx" on the object
always returns the local x position.

Andy


> Hi there,
>
> I'm trying to access Rotation fcurves using scripting.
>
> I can access the translation fcurves fine with code such as.....
>
> var test = Selection(0).posx.Source
>
> I've tried Selection(0).rotx.Source and ori.euler.rotx etc but I can't
> seem to access them. I'm sure it's a simple answer, but if anyone can
> point me in the right direction that'd be great.
>
> Ta
>
> Morgan
>
> ---
> 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.