I have a bunch of clips on one track and I want to remove all the filters from them without doing it one by one, which would take forever...how would I go about doing this? It seems easy enough to copy attributes, but not remove them in bulk.
Don't have a clue if it would still work in current versions of Vegas but no doubt
it can be reworked to the current API.
/**
* This script will remove all effects from selected events
*
* To use, simply select the events on which effects are to be eliminated.
*
* Written By: Edward Troxel
* www.jetdv.com/tts
* Modified: 07-23-2003
**/
var trackEnum = new Enumerator(Vegas.Project.Tracks);
while (!trackEnum.atEnd()) {
var track : Track = Track(trackEnum.item());
//Go through the list of Events
var eventEnum = new Enumerator(track.Events);
while (!eventEnum.atEnd()) {
var evnt : TrackEvent = TrackEvent(eventEnum.item());
if (evnt.Selected & evnt.IsVideo()) {
var videoEvent = VideoEvent(evnt);
var i;
for (i=videoEvent.Effects.Count - 1; i >= 0; i--) {
var effect = videoEvent.Effects[i];
videoEvent.Effects.Remove(effect);
}
}
xberk, that's the one that has a reference to SonicFoundry, it would need to be updated to SONY. However, Edward Troxel had done that too, and made a re-reference to a FX Removal script http://www.sonycreativesoftware.com/forums/ShowMessage.asp?ForumID=21&MessageID=433266here[/link] which HAS the correct SONY reference. The edit revision modified - 04-27-2005 - and that's like after the reference to the COW option. This script requires you select all the Events you want to have the FXs removed from. Look a little further and you will find another reference by John Meyer. Interesting update.