Hi all,
I am looking for a tool/app/script for cleaning drawings from autocad to use them in Revit.
These are the automated command that I need to go through every time we receive new drawings.
EXPLODE BLOCKS
DELETE HATCHES
DELETE SOLIDS
OVERKILL
PUT ALL THE CATEGORIES IN LAYER 0
SET COLOR BY LAYER
SET LINE WEIGHT CONTROL BY LAYER
.
.
.
PURGE
AUDIT
It would be greate if I can automate all this.
Many thanks and have a great weekend!!!
Hi,
is that a wish or do you think that is needed to get a drawing imported into Revit?
Depending on the drawings you have, e.g.
Maybe you can describe why you want to kill the drawing? Any backgroundinfo might help to hold the drawings as structured as possible.
- alfred -
If the blocks are nested, you need sort of routine to explode all levels.
Save following code as a script file (*.scr), download EXPLODEALL.vlx and get free registration, load it into AutoCAD with APPLOAD command, then use command SCRIPT to run the scr file.
Not sure about "CATEGORIES", it seems a term used in Revit, not AutoCAD. I assume you want to change everything into Layer 0. You can adjust the script to suit specific usage later.
;Batch process converting dwg to revit ;3wood CAD KITS 2015.01.31 (explodeall (ssget "_x")) (if (setq s1 (ssget "_X" '((-4 . "<OR")(0 . "HATCH")(0 . "SOLID")(-4 . "OR>")))) (command "._Erase" s1 "")) ._-Overkill all done ._Chprop all layer 0 color Bylayer Lweight Bylayer ._-Purge all * n ._Audit Y