A minor edit to the original script by Jon Seagull, providing major speedups.
Original script here:
http://www.scriptspot.com/3ds-max/scripts/dwg-cleanup
Mine just disables viewport and modify panel refresh, and disables undo. The result for me was this took a few seconds rather than minutes.