Building a Custom Command in VEGAS – Part 4 – Creating an UndoBlock to Name Items in the Undo List

In this tutorial we add a routine that actually changes the project. When changing the project, it is required that an “UndoBlock” be used or an error will occur in the Custom Command. By using the UndoBlock, we not only eliminate the error but we can also create custom names that will appear in the “Undo” list in VEGAS.

The UndoBlock is used as follows:

using (UndoBlock undo = new UndoBlock("Undo List Name"))
{
    //Code for this task
}

To download this full project including the changes made in the next two tutorials: http://www.jetdv.com/tutorial/Vegas/CCTestAfterUndo.zip

Please sign up here and leave comments with suggestions of tasks you would like to see automated. You can help guide the direction of these videos. Also, please subscribe to my YouTube channel.

Leave a Reply