Comments

altarvic wrote on 4/4/2012, 8:03 AM
To remove all fx from one event: right click on the fx button (green icon on events) and choose Delete All

p.s. Vegasaur also has Remove FX command
redpaw wrote on 4/4/2012, 9:07 AM
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 :]
rs170a wrote on 4/4/2012, 9:35 AM
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
johnmeyer wrote on 4/4/2012, 10:40 AM
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

rs170a wrote on 4/4/2012, 11:01 AM
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 :(

Mike
redpaw wrote on 4/4/2012, 11:36 AM
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 ;/
Gary James wrote on 4/4/2012, 1:45 PM
The free Vegas Pro Utility Timeline Tools has a feature to remove FX from all, or selected Events on a track.
oraldo-r wrote on 6/27/2020, 2:42 AM
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.

shovel wrote on 7/15/2023, 2:36 PM

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.

jetdv wrote on 7/15/2023, 9:55 PM

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".

sonicvision wrote on 9/7/2024, 4:41 PM
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!

Intel Core i7-6700, 48GB RAM, NVIDIA GeForce GTX 1660S, Win 10

Magix Vegas Pro 22
Magix Vegas Post 19
Davinci Resolve Studio 19

Boris Continuum  
Boris Optics
NewBlue TotalFX

ACDSee Photo Studio Ultimate 2023 & Gemstone 12
Serif Affinity Photo, Designer & Publisher

Cubase Pro 13

Canon 70D
Panasonic HC-WXF1
Panasonic HC-X900M
Panasonic Lumix DMC-ZS40
Olympus TG-870 Tough
Sony RX100 Mk2

 

leoaerolitos wrote on 12/4/2024, 8:54 AM
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)

zzzzzz9125 wrote on 12/4/2024, 9:29 AM

@leoaerolitos See point 4 of this post: https://www.vegascreativesoftware.info/us/forum/vegas-pro-scripting-faqs-resources--104563/

Using VEGAS Pro 22 build 194 & VEGAS Pro 21 build 208.

Information about my PC:
Brand Name: HP VICTUS Laptop
System: Windows 11.0 (64-bit) 10.00.22631
CPU: 12th Gen Intel(R) Core(TM) i7-12700H
GPU: NVIDIA GeForce RTX 3050 Laptop GPU
GPU Driver: NVIDIA Studio Driver 560.70

jetdv wrote on 12/4/2024, 1:32 PM

@leoaerolitos It's a .JS script - not .CS.

.JS doesn't use an "Entry Point" while .CS does.Notice above the script it says to save it as:

RemoveAllEffects.js