Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Automate Rendering- hiding layers unhiding for each render

  • Automate Rendering- hiding layers unhiding for each render

    Posted by Jon Draper on March 3, 2009 at 4:58 pm

    Good afternoon.
    I’m looking to see if there is anyway (code, plugin etc etc), to automate rendering of a AFX scene, where a precomp layer with text on, is setup to hide numerous layers of text and make one visible. Render the main comp, then hide the visible text, unhide another…render the main comp again (with new text now visible), unhide another etc etc…

    Basically I created a video with a bit of text in a coridor scene. I needed to render this out 5 times for 5 different bits of text.

    This was easily done by duplicating the text, changing the words, hiding other layers and rendering the main comp. My client has now asked for 150 videos of the same thing with different wording in each….hence my dream of being able to automate the process.

    Any ideas would be grand.

    Jon Draper replied 17 years, 1 month ago 2 Members · 2 Replies
  • 2 Replies
  • Kevin Camp

    March 3, 2009 at 5:18 pm

    you might be able to do this with a java script… i don’t know enough about java to help you there, but you could ask in the ae expression forum….

    i could help you with an expression on the source text that could have the text layer pull the text from the the comp name… this would allow you to duplicate the comp, change the name of the comp to what the text needed to say and the text within the comp would update.

    so the potential workflow would be, duplicate comp 1, rename comp 2 to the text needed, add to render queue, then repeat 150 times… since by default the render will take the comp name, each render will automatically have a unique name… as long as you set the file path up for the first one, once you have 150 done, you could just hit render and walk away.

    there are limitations… i think a comp name can only be about 26 characters, so that would be the limit for the text source.

    if you want to give it a try, the expression for the text layers source would be like this:

    thisComp.name

    to use it, twirl open the text layer>text property, select source text, choose animation>enable expressions then enter that expression into the expression field.

    Kevin Camp
    Senior Designer
    KCPQ, KMYQ & KRCW

  • Jon Draper

    March 16, 2009 at 3:17 pm

    Thanks for the reply. Some of the text needs formatting a bit, ie first two words then move down a line for the rest of the title….so would be tricky with that method.

    Looks like its gonna be the slow method or nothing..

    Cheers again

    Jon

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy