Hi hi,
Been working with PySequence.overwrite() and I wanted to reach out see if anyone could shed any light.
Im trying to overwrite only the audio tracks. I made 2 dummy clips. One is color sources stacked up in Versions with tone stereo mix. The other is an empty sequence.
If I do this manually it works as expected…
- lock the video track of the target
- open the target as a sequence
- select the source & overwrite edit
- only the audio tracks are edited in
But when i use overwrite() with this (see the script attached below), it correctly ignores video V1.1 from the lock, but edits in V2.1 & V3.1.
- install the little script below
- select source first
- then shift + select target
- right click > Examples… > Example Overwrite Inconsistency
To me, thats not the expected result. Its like its patching imaginary destination versions.
example_overwrite_inconsistency.py (1.1 KB)
It does work correctly if the color sources are stacked on tracks instead of versions.
I could use execute_shortcut, and might have to end up doing that… just seems a bit low level. Slow.
Thanks in advance for any input.


