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