Copy Generated Media Event

MikeGW wrote on 1/6/2006, 12:42 PM
I am using the following script line to copy a generated medai event....

Vegas.Project.Tracks(RawVideoTrack).Events(0).Copy(destVideoTrack,Timecode.FromString(0));


When the generated media event is copied, it is a reference to the original. Is there a way to copy as a new object or change a refeerence to it's own object?

Thx,
Mike

Comments

JohnnyRoy wrote on 1/6/2006, 8:23 PM
I think you would have to create a new Generated Media manually but there would be no way to set it to the original unless there was a preset and you knew what it was.

~jr
MikeGW wrote on 1/7/2006, 9:01 AM
So when I use a script to copy a generated media event, it is always going to make it a reference to the original? Basically, I just want to have a script that will copy generated media events onto different tracks and then I go back later and change the text manually. However, right now, when I change the text of one, it changes the text of all the events since they are being copied as a reference.

Any help would be appreciated. Thx.
jetdv wrote on 1/7/2006, 1:48 PM
As John said, just create a preset for the way you want the text to be. Then use the script to add a NEW text generated media and assign it to that preset.