Collecting render layers into a comp
Posted: July 14th, 2005, 9:22 pm
Hey,
Im planning on writting a simple script to grab all the render layers for a shot and shove in to a comp in the right order (eg bg, character, fg). Basicly it will prompt for a shot no, and then scan the shot folders final renders folder and grab each squence and put into the comp.
Q: how do i get after effects to return the contents of a folder so i can scan the conents of each final render folder?
Ive been looking at the smart import script, i reckon the key is in there somewhere. I tired the following as test :
var theFolder = ("/c/lsd");
var gfiles = theFolder.getFiles();
But it always returned an error. I want to spesify the path becouse it wont change durring the project. And ideas?
Cheers,
Nick Deboar
/Digital Director/
*The People's Republic of Animation
http://www.thepra.com.au*
Im planning on writting a simple script to grab all the render layers for a shot and shove in to a comp in the right order (eg bg, character, fg). Basicly it will prompt for a shot no, and then scan the shot folders final renders folder and grab each squence and put into the comp.
Q: how do i get after effects to return the contents of a folder so i can scan the conents of each final render folder?
Ive been looking at the smart import script, i reckon the key is in there somewhere. I tired the following as test :
var theFolder = ("/c/lsd");
var gfiles = theFolder.getFiles();
But it always returned an error. I want to spesify the path becouse it wont change durring the project. And ideas?
Cheers,
Nick Deboar
/Digital Director/
*The People's Republic of Animation
http://www.thepra.com.au*