When using tracks/track variables, Normally I add a track similar to:
Mtrack = new VideoTrack(1, "My Track");
Vegas.Project.Tracks.Add(Mtrack);
Now, what if I only do the first line? Can I still add events to it and operate on them normally? If I never do the second line, will that track then simply disappear when the script ends?
I other words:
Mtrack = new VideoTrack(1, "My Track");
// Process Mtrack by moving stuff to it, splitting, copying, whatever...
// end of script
The track will just go away as if it never existed since it was never "added"? Or should it be added and then deleted?
Mtrack = new VideoTrack(1, "My Track");
Vegas.Project.Tracks.Add(Mtrack);
Now, what if I only do the first line? Can I still add events to it and operate on them normally? If I never do the second line, will that track then simply disappear when the script ends?
I other words:
Mtrack = new VideoTrack(1, "My Track");
// Process Mtrack by moving stuff to it, splitting, copying, whatever...
// end of script
The track will just go away as if it never existed since it was never "added"? Or should it be added and then deleted?