Hi everybody,
I'm currently working on a compositing job that involves loads of 3d render layers (IFF sequences) organized in different subfolders. That means, each time I'm setting up a new comp, I'll take my standard comp setup and manually replace the footage items in the project window with new items carrying the same name, but originating from a different folder on my harddisk.
I'd love to have a script that could do that job for me, i.e. automating the "replace footage" task by just redirecting the file path to another folder, without changing the actual name of the image sequence. Is there something that's been posted before that I could try to modify? I've done a fair amount of expression work, but I'm a total noob when it comes to AE scripting.
I'd be totally happy if anybody could help me out with anything...
Redirecting file paths
Moderator: byronnash
-
- Posts: 11
- Joined: March 13th, 2007, 9:42 am
- Location: Hannover, Germany
- Contact:
- redefinery
- Posts: 112
- Joined: April 1st, 2005, 8:16 pm
- Location: CA
- Contact:
hi thomaskiel,thomaskiel wrote:I'd love to have a script that could do that job for me, i.e. automating the "replace footage" task by just redirecting the file path to another folder, without changing the actual name of the image sequence.
i'm not sure if someone has already written such a script, but the basics should be similar to the following...
Code: Select all
newFolderPath = new Folder("/c/users/thomaskiel/new folder location");
// fi = FootageItem that you want to replace
fi.replaceWithSequence(new File(newFolderPath.fsName + "/" + fi.file.name),true);
:jeff
- lloydalvarez
- Enhancement master
- Posts: 460
- Joined: June 17th, 2004, 9:27 am
- Location: New York City, NY
- Contact:
I am currently working on a script that provides a very flexible interface to do this. Let me know if you would like to beta test it. You can send me a PM with your email address.
-Lloyd
-Lloyd