Skip to main content
Inspiring
Oct 18, 2025 12:21 PM UTC
Answered

Filtering sequences for the active project, not all sequences in PR Production

I'm using `var directSequences = app.project.sequences;` to get the sequences for the current project. However, I've noticed that if I open the project in PR Production, this method will retrieve all sequences in PR Production, not just those in the currently open project.

 

Is there any way to filter sequences for the currently open project?

 

Thank you

Bruce Bullis
Bruce BullisCorrect answer
Legend
Oct 18, 2025 6:01 PM UTC

My testing doesn't match your experience. 


  • Create a new Production
  • Name first project "Project 1"
    • In Project 1, create "Sequence 1"
  • Create a new project; "Project 2"
    • In Project 2, create "Sequence 2", "Sequence 3", and "Sequence 4".
  • In PPro's UI, make "Project 1" active.
  • Run the following ExtendScript:
    var howManySequences = app.project.sequences.length;​
  • Result = howManySequences = 1, despite the fact that there are 3 more sequences available in another open Project, within the same Production.

3 replies

Bruce Bullis
Bruce BullisCorrect answer
Legend
Oct 18, 2025 6:01 PM UTC

My testing doesn't match your experience. 


  • Create a new Production
  • Name first project "Project 1"
    • In Project 1, create "Sequence 1"
  • Create a new project; "Project 2"
    • In Project 2, create "Sequence 2", "Sequence 3", and "Sequence 4".
  • In PPro's UI, make "Project 1" active.
  • Run the following ExtendScript:
    var howManySequences = app.project.sequences.length;​
  • Result = howManySequences = 1, despite the fact that there are 3 more sequences available in another open Project, within the same Production.
Translate
june1632Author
Inspiring
Oct 30, 2025 1:50 PM UTC

Thank you for your reply.

 

I discovered that these sequences weren't due to production mode, but rather because some clips were created using multi-camera sequences. After refactoring the project, only the final edit sequences were retained, and these multi-camera sequences weren't included in the current project. However, when filtering sequences using a script, these hidden sequences not currently in the project are automatically found.

 

So the question becomes: how can I filter the sequences in the current project, without related sequences?

 

 

Translate
june1632Author
Inspiring
Oct 18, 2025 12:22 PM UTC

my env is on mac, PPRO version 25.5.0 b13

Translate