-
Can someone hlp me with this script?
So I have this script called “RemoveNotInactiveTakes” but insead of removing the not active takes, In multicam mode I want the script to remove the “no camera” (I’ll put a picture below for better understanding & the script)
Link for picture:https://drive.google.com/file/d/1e91SR6yASe66ooTOQfYYKNX1w8URK2Q3/view?usp=sharing
Here is the script:
**/
import ScriptPortal.Vegas;
import System.Windows.Forms;
import Microsoft.Win32;try
{
// step through all video events:
for (var track in Vegas.Project.Tracks) {
for (var evnt in track.Events) {
for (var take in evnt.Takes){
if (!take.IsActive)evnt.Takes.Remove(take);
}}
}}
catch (errorMsg)
{
MessageBox.Show(errorMsg, “Error”, MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
}
Sorry, there were no replies found.