Scripting Experts: can 't use Setkeys with my own array 2004-02-12 - By Sebastian Faber
Back Hi guys,
I try to use SetKeys with my own defined array. this is the example I found in the docs:
set oRoot = Application.ActiveProject.ActiveScene.Root set oNull = oRoot.AddNull() set oPosx = oNull.Posx set oFCurve = oPosx.AddFCurve()
oFCurve.SetKeys( Array( 1, 10, 2, 20, 3, 30 ) )
now I tried to define my own array
myOwnArray = Array(10, 20, 2) oFCurve.SetKeys( Array( myOwnArray ) )
But this causes an Error. Does anybody knows how to get it work? I tried different kind of syntax but without having success.
thanks in advance...
Sebastian
--- Unsubscribe? Mail Majordomo@(protected) with the following text in body: unsubscribe xsi
|
|