thanks altarvic, but the problem is to remove all effects from multiple events, not just one.
i've got like a 100 of events, each one with videofx - and wanted to delete the effects from all of them... and going one by one isnt really an option.
i actually downloaded all the trials from Excalibur, vegasaur and ultimate S, but before checking them out i actually found a way to do it in vegas with no additional plugins or even scripts.
didnt expect it to work but it did!
you just add some media generated event (for example solid color) on the timeline, right click on it -> copy , then select all the events you want to remove effects from, right click -> paste event attributes.... and that's it.
attributes from the solid color event (i.e. default view with no effect) are applied to all the events. it's simple as that :]
For future use, here's a script courtesy of Edward Troxel.
Copy and save it as RemoveAllEffects.js
/**
* 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);
}
}
you just add some media generated event (for example solid color) on the timeline, right click on it -> copy , then select all the events you want to remove effects from, right click -> paste event attributes.... and that's it. Neat trick. I didn't think that would work, and indeed it does NOT work with Vegas 7.0d. However, I tried it using 10.0e and it worked just fine.
Interesting side note: if you add an event to the generated media, then remove that fX, and after doing that try to copy/paste attributes in order to remove effects from all other events, it doesn't work. Apparently, for this trick to work, you need to copy from generated media that has never received any fX.
I did try copy/pasting from events that already contain fX just to see if anything had changed with 10.0e (I don't have 11 installed on this computer). With 10.0e Vegas still adds the pasted events to the fX already present in the events to which you are pasting, even if that fX already exists in those events.
I had this "bite" me often enough that I created an "auditing" script that looks through all events in the project and reports those which have more than one instance of the same effect.
Interesting side note: if you add an event to the generated media, then remove that fX, and after doing that try to copy/paste attributes in order to remove effects from all other events, it doesn't work. Apparently, for this trick to work, you need to copy from generated media that has never received any fX.
John, thanks very much for that "side note".
That explains why I've always had problems trying to do that :(
Thanks for the script Mike! I was googling and searching the forum but couldnt find it before.
I was surprised that it worked myself because i'm pretty sure i tried that before and something weird was happening. but then again i might be wrong cause it was a long time ago.
I think its the same with 11 - if you're pasting effects to the events that contain some fx already it just adds more.
pity there's no selective pasting as there is in dvd architect, so you can pick what attributes you want to past to this element ;/
you just add some media generated event (for example solid color) on the timeline, right click on it -> copy , then select all the events you want to remove effects from, right click -> paste event attributes.... and that's it. Neat trick. I didn't think that would work, and indeed it does NOT work with Vegas 7.0d. However, I tried it using 10.0e and it worked just fine.
Interesting side note: if you add an event to the generated media, then remove that fX, and after doing that try to copy/paste attributes in order to remove effects from all other events, it doesn't work. Apparently, for this trick to work, you need to copy from generated media that has never received any fX.
I did try copy/pasting from events that already contain fX just to see if anything had changed with 10.0e (I don't have 11 installed on this computer). With 10.0e Vegas still adds the pasted events to the fX already present in the events to which you are pasting, even if that fX already exists in those events.
I had this "bite" me often enough that I created an "auditing" script that looks through all events in the project and reports those which have more than one instance of the same effect.
John
I know it's 8 years old, but I create an account, just to say BIG BIG tank you buddy.
sorry to resurrect this but it comes up in search and im on V19 and searching for a way to remove all fx from selected clips. Right click FX > Delete All only removes fx from the single clip. Is there really still no way to remove all fx from selected clips in 2023?
That's a little frustrating if true after investing into this software as an alt to Adobe.
The script listed above still works. Or you can create your own script:
But you can do it natively in VEGAS. Copy an event that does not have any effects, Select the events you want the effects removed from, right-click one of them and choose "Selectively Paste Event Attributes" and choose "Effects".
you just add some media generated event (for example solid color) on the timeline, right click on it -> copy , then select all the events you want to remove effects from, right click -> paste event attributes.... and that's it. attributes from the solid color event (i.e. default view with no effect) are applied to all the events. it's simple as that :]
It's 12 years later and I found this solution, very helpful in 2024 on Vegas 22. Thanks!
For future use, here's a script courtesy of Edward Troxel. Copy and save it as RemoveAllEffects.js
/**
* 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
**/
import System;
import System.Collections;
import System.Text;
import System.IO;
import System.Drawing;
import System.Windows.Forms;
import Sony.Vegas;
try {
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);
}
}
eventEnum.moveNext();
}
trackEnum.moveNext();
}
} catch (e) {
MessageBox.Show(e);
}
Mike
This Script does not work in the actual version of Vegas (22).
Show the error:
System.ApplicationException: Failed to create instance of main class: 'EntryPoint'. at ScriptPortal.Vegas.ScriptHost.ScriptManager.Run(Assembly asm, String className, String methodName) at ScriptPortal.Vegas.ScriptHost.RunScript(Boolean fCompileOnly)