' Name: MauchaDelete
' Title: Delete all Maucha graphic objects
' Description: find all the Maucha objects and delete them
' Author: Michael Silberbauer 2001

theView = av.GetActiveDoc
theDisplay = theView.GetDisplay

' Get the GraphicList for the View...

theGraphics = theView.GetGraphics

'theGraphicList.Empty

theGraphics.SelectAll
theGraphicsList = theGraphics.FindAllByObjectTag("Maucha")
theGraphics.UnSelectAll
if (theGraphicsList<>Nil) then
  for each g in theGraphicsList
    g.SetSelected(true)
  end
end

'theGraphics.GroupSelected

theGraphics.ClearSelected