Copy link to clipboard
Copied
My hero,i want to remove one Component
app.enableQE();
var qeSequence = qe.project.getActiveSequence(0);
qeSequence.getVideoTrackAt(0).getItemAt(0).getComponentAt(1);
use QEComponent.remove().But i found that getComponentAt(1);This index of getComponentAt(index) only 0 and 1,it can not be 2,3,4 or more.How can i solve this problem?
The QE DOM is unsupported, and unrecommended. In the regular DOM, trackItem.remove() would be the right approach.
Copy link to clipboard
Copied
OH,i found it is not the indexOf getComponentAt(index),but the getItemAt(0),when i make this getItemAt(1) ,it will fail.
Copy link to clipboard
Copied
The QE DOM is unsupported, and unrecommended. In the regular DOM, trackItem.remove() would be the right approach.