• 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 call importMGTFromLibrary method

Community Beginner ,
Jul 05, 2018 Jul 05, 2018

Copy link to clipboard

Copied

I see there is an importMGTFromLibrary method available in sequence objects when using Premiere's ExtendScript API, but I can't seem to get it working.  I assume it works in a similar way to the importMGT method (the use of which is demonstrated in the code for PProPanel and takes 4 arguments - a file path, a sequence in point, a video track index and an audio track index).

importMGT(mogrtToImport.fsName, targetTime.ticks, vidTrackOffset, audTrackOffset);

How would you go about (if that's the right way to do it) specifying a 'path' for a mogrt stored in an Adobe CC Library when using importMGTFromLibrary? I tried '/LibraryName/FileName.mogrt' and various other combinations and omissions of the file and library name but no cigar... !

TOPICS
SDK

Views

961

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

Community Beginner , Aug 02, 2018 Aug 02, 2018

Thanks to Bruce Bullis​ answering this one off the back of another question I posted:

sequence.importMGTFromLibrary("Library Name", "MoGRT Name", targetTime.ticks, vidTrackOffset, audTrackOffset);

Votes

Translate

Translate
Community Beginner ,
Aug 02, 2018 Aug 02, 2018

Copy link to clipboard

Copied

Thanks to Bruce Bullis​ answering this one off the back of another question I posted:

sequence.importMGTFromLibrary("Library Name", "MoGRT Name", targetTime.ticks, vidTrackOffset, audTrackOffset);

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
New Here ,
May 11, 2024 May 11, 2024

Copy link to clipboard

Copied

LATEST

I need the example for the Importing from Local Library in premire pro ( Essential Graphics ) 

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