Copy link to clipboard
Copied
Hi everyone!
Using script I’m trying to do something that should be relatively easy, but I can’t seem to find any documentation about it.
Here’s an example:
- I have Sequence X placed inside Sequence A.
- Sequence X is set as an adjustment layer and has effects on it.
- I want to simply copy the Sequence X from Sequence A, into Sequence B.
Is it even possible? Any feedback would be really helpful.
Here is a short video where I explain exactly what I’m trying to do:
1 Correct answer
Sequence objects have a clone() function, but based on your description, it sounds like you want to clone a trackItem, which happens to be based on a sequence. There's no API for that; conceivably, you could clone the whole sequence containing that trackItem, then delete everything you don't need. Stipulated; not an elegant solution.
Copy link to clipboard
Copied
Sequence objects have a clone() function, but based on your description, it sounds like you want to clone a trackItem, which happens to be based on a sequence. There's no API for that; conceivably, you could clone the whole sequence containing that trackItem, then delete everything you don't need. Stipulated; not an elegant solution.
Copy link to clipboard
Copied
Yeah, I want to copy track items. The only solution I can think of is to get the project item of the track item, then put it in another sequence. After that, I can modify the timing and effects. is that the only solution?
Copy link to clipboard
Copied
That approach will get you most of the way there; there are some aspects of trackItems for which there are no APIs, which is why I recommended the clone() approach.
what's the entire workflow you're trying to support?

