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

how to change render output directory

Explorer ,
Jun 01, 2020 Jun 01, 2020

Copy link to clipboard

Copied

Hi,

I am trying to simply change the output directory in my output module to a new path and I get errors.

I have this code:

 

var new_Path = "/path/";
app.project.renderQueue.item(1).outputModule(1).setSetting(new_Path);

 

and I get this error:

Unable to call “setSetting” because the call requires 2 parameters.
Any ideas..?
Thank you!
 
TOPICS
Expressions , Resources , Scripting

Views

579

Translate

Translate

Report

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

Explorer , Jun 01, 2020 Jun 01, 2020

Hi again,

I actually solved it like this:

app.project.renderQueue.item(1).outputModule(1).file = new File("/path" + myComp.name);

I am not sure if this is the best way but it worked. If anyone has a better idea, please share.

Cheers!

Votes

Translate

Translate
Explorer ,
Jun 01, 2020 Jun 01, 2020

Copy link to clipboard

Copied

LATEST

Hi again,

I actually solved it like this:

app.project.renderQueue.item(1).outputModule(1).file = new File("/path" + myComp.name);

I am not sure if this is the best way but it worked. If anyone has a better idea, please share.

Cheers!

Votes

Translate

Translate

Report

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