I've ran into the same problem, but there was no direct solution.
Saving and loading a preset was the only way.
Cheers
Bernard
On Dec 1, 2007 1:22 PM, Julian Johnson <julian(at)exch.demon.co.uk> wrote:
> Amended Script (forgot to paste in the Cube):
>
> import win32com.client
>
> def disp(ob):
> return win32com.client.Dispatch(ob)
>
> oRoot = Application.ActiveSceneRoot
> oCube = oRoot.AddGeometry( "cube", "MeshSurface" )
> oSphere = oRoot.AddGeometry( "sphere", "MeshSurface" )
> oParam = oSphere.Parameters('posx')
> oExpr = disp(oParam.AddExpression('l_fcv(cube.kine.local.posx)'))
> oFCurve = oExpr.Parameters('l_fcv').AddFCurve(20,)
> oFCurve.AddKey(0,0)
> oFCurve.AddKey(10,20)
>
>
> Julian
> ---
> 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