# revitDwgImportCleaner Clean dwg files before linking them to Revit ### Features: - change to model space - bind and detach all xrefs (optional) - 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 - delete all layouts (optional) - accept current UCS as origin or move origin - 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 - 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