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.
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.
Copy link to clipboard
Copied
When using remix, the sequence loses access to projectItem, and treePath cannot be used anymore to search through all sequences and find a projectItem in a specific folder when iterating through all sequences.
Is there any other way to match a projectItem to a Sequence other than by treePath?
Copy link to clipboard
Copied
>Is there any other way to match a projectItem to a Sequence other than by treePath?
No; tree path, and name, are the right identifiers.
Copy link to clipboard
Copied
Thank you.
Copy link to clipboard
Copied
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.