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

qe.project.numSequences and qe.project.getSequenceAt(i) is not match

New Here ,
Sep 25, 2014 Sep 25, 2014

Hi,

I am currently developing adobe premiere plugin to import, edit, and export clip.

When i have more than 1 sequence and perform export operation, I will try to get number of sequences and loop through sequence to match the sequence name (qe.project.getSequenceAt(i).name). Somehow qe.project.getSequenceAt(i) cannot get more than 1 item, they only contains 1 item instead total number of items specify in numSequences.

This issue is happen randomly, I tried on 1 machine and it always happen while in my PC, it is not reproducible.

Below is my code for get the sequence item.

getSequenceByName = function(name)

  {

  for (var i = 0; i <qe.project.numSequences; ++i)

  {

  if (name == qe.project.getSequenceAt(i).name)

  {

  return (qe.project.getSequenceAt(i));

  }

  }

  return null;

  };

Anyone has any ideas what is happening to this code or anyone face this issue before?

Thanks.

TOPICS
SDK
887
Translate
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 , Sep 30, 2014 Sep 30, 2014

First, QE DOM is unsupported.

Second, numSequences is the total for the entire project, while getSequenceAt() works within the current bin (the project root is also a bin).

Third, you should write me directly with any questions; b b b at adobe dot com.

Translate
Adobe Employee ,
Sep 30, 2014 Sep 30, 2014
LATEST

First, QE DOM is unsupported.

Second, numSequences is the total for the entire project, while getSequenceAt() works within the current bin (the project root is also a bin).

Third, you should write me directly with any questions; b b b at adobe dot com.

Translate
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