Quantcast
Channel: Adobe Community : Popular Discussions - Premiere Pro SDK
Viewing all articles
Browse latest Browse all 53010

how to know which track a clip is on?

$
0
0

Is there any method (normal or QE) to know which track is a clip on, except by going through all of the tracks?

 

Something like clip.track or clip.trackID?

 

The scenario is I want to replace a selected clip with something else from the project panel.

The clip is linked to some audio (or the other way around).

 

I want to replace the linked clip(s) as well, but don't know which tracks they belong to, so wouldn't know on which track(s) to insert (overwrite) the stuff from the project bin.

 

Maybe I could loop over all of the tracks, and see if anything has same properties as the clips from the getLinkedItems, or if the getLinkedItems points of other clips point at the selected one, but I'm sure there must be something better, and besides this method wouldn't work in some cases with duplicates.

 

Come on, premiere knows, so why can't we?


Viewing all articles
Browse latest Browse all 53010

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>