Hey guys!
I recently wrote a script to batch import renderings, similar (but of course far simpler) to the "immigration" script by Lloyd Alvarez. In this forum he wrote that he uses a custom pearl algorithm to replace the slow "getfiles()" function. But in my experience if you import tons of sequences, it's the importFile() method which slows down the import a lot. So here comes my question: is there any way to import files into AE other than trough importFile()?
It seems like the main reason, why the method works so slow, is the sequence detection. Because importing single files works a lot faster (so it can't be stuff like detecting the image size and so on). My script first scans through all the folders and recognizes sequences in there. Thus it already knows where and how long the sequences are. So is there any way to use this information without letting importFile() calculating it all over again?
I hope I made myself clear....
Cheers,
Mossman
Fast Import via Javascript
Moderator: Paul Tuersley
Not sure if this would help your workflow, but you might be able to use the replace method. It's a lot easier to replace a file in scripting than import a new one.