Skip to main content
Inspiring
May 3, 2023
Answered

Effect's unique id Premiere Pro

  • May 3, 2023
  • 2 replies
  • 802 views

How to get a unique id of an effect in PremierePro SDK. If not, a unique id of a color matte would also work. How to get it?

This topic has been closed for replies.
Correct answer Lekha29422377akpk

Found it. 

GetContainingTimelineID in the PrSDKAESupport.h does the job. It gives me a unique identifier for every effect.

2 replies

Lekha29422377akpkAuthorCorrect answer
Inspiring
May 5, 2023

Found it. 

GetContainingTimelineID in the PrSDKAESupport.h does the job. It gives me a unique identifier for every effect.

Adobe Employee
May 3, 2023

Hello,

You can get GUIDs from the PPro API; all sequence objects have a 'sequenceID' member. 

An effect, by itself is not a sequence item. A color matte becomes a object once you put it in the project, so that would work.

 

var activeSeq = app.project.activeSequence;

if (activeSeq){

    var guid = activeSequence.sequenceID;

}

Inspiring
May 4, 2023

I'm not using ExtendsScript, I'm using AfterEffects SDK for this plugin