Page 1 of 1

copy only one parameter from layer to layer ?

Posted: Wed Jun 19, 2013 9:24 am
by pele2010
Hi,

i am stuck with this problem. How can i copy just the "speed" or the "scale" from one layer
to another?
I only came up with the solution of duping it and then cero the parameters you don´t need.
:?:
Thanxs pele

Re: copy only one parameter from layer to layer ?

Posted: Wed Jun 19, 2013 7:11 pm
by anomad
. the most configurable option would be to write your own module to allow you to pick and choose which parameters from which layer would be applied to another layer...

. you can use the Modules->Keyword Browser (and the click the 'Pick In interface' button to determine the name of the element, like

ctrl_layer_movie_speedFactor

. then to get the value :

mySpeed = modul8.getValue('ctrl_layer_movie_speedFactor', 0)

. 0 for currently active layer, or you can hardcode the layer if it will always be the same or create a UI element in your module to choose the 'from' and 'to' layers dynamically. the set the value:

modul8.setValue('ctrl_layer_movie_speedFactor', mySpeed, 2 )

. the '2' being layer 2 - but set that to the layer you want to change. check out the Modul8 online manual for more information about getting and setting values.

. good luck! :)



-james
(a nomad. )

Re: copy only one parameter from layer to layer ?

Posted: Wed Jun 19, 2013 8:56 pm
by pele2010
Hi James,

thanxs

i´ll give it a try.

pele 2010