Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Expression Error on Batch Export

New Here ,
Feb 21, 2020 Feb 21, 2020

Hi all,

 

I have a project that requires a batch render of basketball player animations to save lots of time. When I combine my individual player AE projects into a Master Project, only the last project folder will generate the correct player name/number information (see attached photos 1 & 2). I scripted most of the compostions to pull the source text from a specific Player Name/Number precomp (attached Photo 3). As you can see in photo 4, the first project folder cannot find the Source Text, causing the wrong information to display on the compositions. It seems like the script is confused on what comp to pull the information from, as all the projects have the same naming conventions.

 

How can I script the text to pull the information from a specific folder or project?

 

**BONUS QUESTION** How would you change the workflow to not run into this issue?Correct Information_All Comps.pngIncorrect information_All Comps.pngScript.pngScript Error Message.png

TOPICS
Expressions , Scripting
418
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Advocate , Feb 21, 2020 Feb 21, 2020

Hey.

The problem here is that all expresions are refering to composition by name - most likely the last imported one. And that's the problem.

Your best bet here is to always have unique names for compositions.

If you're automating the aep importing process, prior to importing into Master Comp, open each project and rename all the comps by appending a random number, save. Then import everything into a Master Project.

There's really no other way around this, other then having unique names all the

...
Translate
Advocate ,
Feb 21, 2020 Feb 21, 2020

Hey.

The problem here is that all expresions are refering to composition by name - most likely the last imported one. And that's the problem.

Your best bet here is to always have unique names for compositions.

If you're automating the aep importing process, prior to importing into Master Comp, open each project and rename all the comps by appending a random number, save. Then import everything into a Master Project.

There's really no other way around this, other then having unique names all the time.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 21, 2020 Feb 21, 2020
LATEST

Thanks for the help, Thomas. That is the route we will take.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines