DeleteAllSheetsAndViews

This macro will delete all sheets, legends, schedules, and views except
the current view from the model. Revit 2013/2014