Sequence.createSubsequence() doesn't work correctly

Community Beginner ,
Mar 01, 2021 Mar 01, 2021

Copy link to clipboard

Copied

In AP 14.7 the methods Sequence.createSubsequence() and Sequence.clone() work exactly the same - they clone the sequence with all content but with different names. I hoped to make such as "nested dequence" method based on Sequence.createSubsequence(), but it was failed 😞

TOPICS
Error or problem, SDK

Views

54

Likes

translate

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 , Mar 02, 2021 Mar 02, 2021
You're not doing anything wrong; the API behaves differently from the UI.  

Likes

translate

Translate

Translate
Adobe Employee ,
Mar 01, 2021 Mar 01, 2021

Copy link to clipboard

Copied

createSubsequence() has a param that will let the subsequence ignore existing track targeting. 

What other differences between clone(), and createSubsequence(), were you hoping for?

Likes

translate

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
Community Beginner ,
Mar 01, 2021 Mar 01, 2021

Copy link to clipboard

Copied

I hoped that Sequence.clone() is full analog for context menu "Duplicate" - the way it is. No arguments, sipmly method. Yes. Ok. It is logical to expect that Sequence.createSubsequence() is full analog for context menu "Make subsequence". Really I can't see the difference between these 2 methods both using "true" and "false" as boolean argument in createSubsequence(). 

 

I open any project, select any sequence and some clips in it and execute execute app.project.activeSequence.clone() - I get new sequence with all content and " Copy" suffix as result. Ok. I execute app.project.activeSequence.createSubsequence(true) and get the same result, but suffix is "_Sub_01". I execute app.project.activeSequence.createSubsequence(false) and get third identical sequence. If I executed the command "make subsequence" manually from context menu I'd get new sequence only with selected clips as content...

What I'm doing wrong?  

Likes

translate

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
Adobe Employee ,
Mar 02, 2021 Mar 02, 2021

Copy link to clipboard

Copied

You're not doing anything wrong; the API behaves differently from the UI.

 

Likes

translate

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