-
Force script evaluation and update
Hi,
I am currently working on a project using a textfile to read parameters into after effects. This works quite well, with one exception:
While the script reads the contents of the file and sets the correct parameter, this only happens when the script is evaluated (i.e. on every frame). When I change the contents of the textfile and move to the next frame, the new value is used. When I move back to the previous frame however the previous value is still stored… There are no keyframes so this value is apparently stored somewhere else.A workaround is: put the play-head at the beginning of the clip, and press ‘[‘. While this seems to update all the values to the new ones in the textfile it is hardly the most elegant way of doing things.
Now, my question is whether there is another way to ‘force’ after effects to update the value which it stored somewhere? Also, is there a way to continuously evaluate an expression of the current frame?