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

convert rootitem into sequence[index] script premiere

Explorer ,
Feb 09, 2022 Feb 09, 2022

Copy link to clipboard

Copied

how to convert  from  app.project.rootItem.children[index] to this 
 app.project.sequences[index]
Capture_undefiened.PNG
 app.project.sequences[index].videoTracks.numTracks   
or 
id or projectitem are not working.
i cannot access these properties that sequence[index] can be accessed please do help.
TOPICS
SDK

Views

131

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

Adobe Employee , Feb 09, 2022 Feb 09, 2022

All sequences are projectItems; not all projectItems are sequences. 

 

You can use the projectItem.isSequence() method to identify sequences; you can also iterate across app.project.sequences, to access all sequences in a project.

Votes

Translate

Translate
Adobe Employee ,
Feb 09, 2022 Feb 09, 2022

Copy link to clipboard

Copied

All sequences are projectItems; not all projectItems are sequences. 

 

You can use the projectItem.isSequence() method to identify sequences; you can also iterate across app.project.sequences, to access all sequences in a project.

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
Explorer ,
Feb 12, 2022 Feb 12, 2022

Copy link to clipboard

Copied

LATEST

In addition of Bruce's receipt. If you have a sequence as the definite ProjectItem or TrackItem object you have to compare "nodeId" in all of sequence[i].projectItem objects and your projectItem (or TrackItem.projectItem) objects in cycle.

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