Quantcast
Channel: Adobe Community : Popular Discussions - After Effects SDK
Viewing all articles
Browse latest Browse all 73444

renderAsync() in AE SDK 2017.1 not working?

$
0
0

Hi,

 

I'm working on an After Effects plugin using SDK 2017.1 (14.2). The code currently renders using the blocking call AEGP_SetRenderQueueState(AEGP_RenderQueueState_RENDERING). I replace that with the async script call but rendering doesn't start.

 

I use AEGP_ExecuteScript() to run

app.project.renderQueue.renderAsync();

And then loop waiting for the render state to change to stopped. The script runs, ExecuteScript returns, and my loop starts. Problem is, the loop runs indefinitely and I can see in the After Effects UI that rendering has not started.

 

What else do I need to do to get renderAsync() to make rendering start? Or is it currently broken? I saw in another post Re: How to Render in AEGP with AE 2015??!! that renderAsync() was blocking in AE 2015.

 

Thanks!


Viewing all articles
Browse latest Browse all 73444


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