# 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 - change and verify units for automatic import - 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 ## Usage - Download from [here](https://git.gyetpet.dynu.net/infeeeee/revitDwgImportCleaner/raw/branch/master/revitDwgImportCleaner.lsp) (rightclick, save page as) - Drag the file to the opened Autocad drawing - Select always load - During execution the script asks questions. Wrap this in an scr if you want to run this with Scriptpro ## License MIT