Here you go
Create a macro module and paste this
public void DelAllDraftView() { Document doc = this.Document; List<ElementId> L = new FilteredElementCollector(doc). OfClass(typeof(View)).ToElements().Cast<View>(). Where(x=>x.ViewType==ViewType.DraftingView). Select(y=>y.Id).ToList(); using( Transaction t = new Transaction( doc ) ) { t.Start( "Deleting DraftingViews" ); doc.Delete(L); t.Commit(); } }
Make sure that a drafting view is not an active one before starting the execution of macro