Quantcast
Channel: Adobe Community : Discussion List - After Effects Scripting
Viewing all articles
Browse latest Browse all 2143

Taking advantage of CC 2015+ Asynchronous Render in a Script

$
0
0

Can it be done?

I have a script that duplicates and moves around a bunch of layers and it runs about twice as slow on CC 2015+ as on CC 2014.  I think it has something to do with the fact that while the script is running in CC 2015+ the viewer refreshes and shows the script's progress. In CC 2014 the software just hangs until the script is done.

I tried implementing this method for disabling the viewer's refresh:

Re: Refresh Disabled

But it didn't affect the script's run time at all.

So I guess there's an advantage to this new asynchronous render method... can it be exploited with scripting?

For example, instead of looping linearly through selected layers and running some code, can I run a script section on each selected layer simultaneously?

I thought of running an external jsx file using .execute(); but this method doesn't run the script in AE... and not sure if and how I can pass variables to it.

Probably a long shot but I thought of asking anyway... after all, there has to be some benefit for this change in the render thing.

Or does it just hurt scripting and I should just get used to it?

 

Thanks

Roy


Viewing all articles
Browse latest Browse all 2143

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>