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

Automate Auto-Trace

New Here ,
Jan 23, 2013 Jan 23, 2013

Hi,

I know it's been asked before on various forums but I have still failed to find an answer.

I need to batch process auto-trace on a number of comps so they can be done over night.

Using CS6...

I know the auto-trace settings I want to use.

I can save these in the comps comments for retrieval.

So I would loop through each comp and call Auto-Trace, passing it the specified settings for the current comp.

I'm new to AE Scripting but have done some for a number of other apps like Max & Maya.

Is this something that can be done with scripting?

If not can it be done via the SDK?

Any help greatly appreciated.

Cheers,
Toby

TOPICS
Scripting
1.2K
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
Advocate ,
Jan 25, 2013 Jan 25, 2013

There's no direct access to Auto-trace via ExtendScript from what I have found. Not sure if the SDK provideds any options or not.

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 ,
Jan 28, 2013 Jan 28, 2013

That's for the reply David. I'll see what I can find out about the SDK.

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
Participant ,
May 15, 2019 May 15, 2019

app.executeCommand(app.findMenuCommandId('Auto-trace...'));

That will execute auto-trace, but it pulls up the dialog. No way to have it execute without requiring user interaction or gui python as far as I can tell.

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
Community Expert ,
May 17, 2019 May 17, 2019
LATEST

app.executeCommand() is the only way I know of. There's nothing in the C++ SDK Documentation about accessing the "auto-trace" function. Best bet would be to select each element and run the executeCommand() on it.

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