Hello all.
I set every 100ms the new value of "source text" property in a specified layer.
This code work fine:
(cicle of 100)
[...]
var LayerVelProperty= LayerVel.property("Source Text");for(y = 0; y < 100; ++y){
LayerVelProperty.setValueAtTime(y * .1, y);}
The loading time for this script is about 2 seconds.
This code blocked the execution of after effects:
(cicle of 1000)
[...]
var LayerVelProperty= LayerVel.property("Source Text");for(y = 0; y < 1000; ++y){
LayerVelProperty.setValueAtTime(y * .1, y);}
The problem is that when I do "run script file" for this last example (cicle of 1000) after effects window remain for 4-5 minuts with a "loading" circle and if i click on the after effects windows it will be crash. There is a different method for implements this function that running whit more speed and stability ?
if the execution time for the first (100) cicle is 2 seconds, why the execution for the second script (1000) is not 20 seconds?
i try this code on this PC: win8, I7 4770 processor, 16G Ram, the hardware is not a limit in this problem.
There are some settings to change in after effects for improve the speed and stability? I think if there isn't a method this is a bug of After Effects.
Thanks a lot, Maurizio.