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.
I haven’t experienced this exact issue but I’ve had lots of trouble with overwrite() cutting things in at the wrong frame. I have one script that uses overwrite to just plop a slate on frame 1 and it’ll work great for months then one day decide that that actually means frame 1 minus the head-handles of the incoming clip, eg. frame -7 for an 8-handled clip, so then I adjust the script to account for that, which will work for a while, and then it wants it to be frame 1 again seemingly arbitrarily. execute_shortcut() pretty much always works as expected but does slow down script execution in my experience.
From my recollection of the smoke days, editing is limited to a single video track. Your screengrabs suggest the source has no tracks selected (swiped green), and the destination also.