Files
revitDwgImportCleaner/README.md

990 B

revitDwgImportCleaner

Clean dwg files before linking them to Revit

Current features:

  • change to model space
  • bind (optional) and detach all xrefs
  • remove all xlines from model space and from blocks
  • delete all points from modelspace
  • move hatches to separate layers
  • attribute definitions not in block to txt because they are not showing up in Revit
  • PROXYGRAPHICS=1 (one less annoying dialog)
  • purge
  • audit
  • save as 2013 dwg
  • save to desktop if filename is too long

Planned features

  • move closer to origin
  • remove layouts
  • replace heavy linestyles and hatches
  • ask for units for automatic import

Usage

  • Download from here (rightclick, save page as)
  • Drag the file to the opened Autocad drawing
  • Select always load
  • During execution it asks if you want to bind xrefs. Wrap this in an scr if you want to run this with Scriptpro

License

MIT