TheSwamp
Code Red => AutoLISP (Vanilla / Visual) => Topic started by: Coder on January 05, 2012, 03:24:53 AM
-
Hello guys .
Sometimes when I am trying to save as a copy of a drawing to old version of Autocad I receive a message says " which means" This
would create or add AEC objects to the drawing , and after that I noticed if I copy and past objects inside the same drawing it would
take a very long long long time to proceed the action.
Besides all of that , the size of the drawing would be increased each time open and close the drawing .
How to purge or delete these AEC objects from the drawing ?
Many thanks .
-
DXFOUT works for me
-
try the command
-EXPORTTOAUTOCAD <enter>
and then follow the prompts...
This will make a new version (copy) of your drawing that still has all your objects - they simply don't have the AEC baggage that comes along with them.
Note: In AutoCAD, don't forget the minus sign before the command...
-
Better still use DWGconvert and process all drawings for that project at once. I know this command is in 2012 and possibly in 2011 as well.
-
Better still use DWGconvert and process all drawings for that project at once. I know this command is in 2012 and possibly in 2011 as well.
:kewl:
-
Thank you all guys .
Isn't there a programming solution for that problem without exporting to another drawing ?
Thanks so much
-
Not a reliable one that I have found.
-
can't you manipulate files with lisp? AECTOACAD command exports a cleaned drawing to the same folder with a preset prefix (or suffix)
-
_AecExportToAutoCAD20##? :?
Example:
(command "_AecExportToAutoCAD2007")
Edit to add - This works for both Land Desktop Companion 2009, and Civil 3D 2010-2012; tested using LDC 2009, and C3D 2011.
-
in 2012 it's just as i typed up above. it exports according to whatever version you're using
-
in 2012 it's just as i typed up above. it exports according to whatever version you're using
... Hence my suggestion, Nibs. :wink:
From first post:
Sometimes when I am trying to save as a copy of a drawing to old version of Autocad I receive a message says ...
-
ah! darn that short term memory retention... :lol:
-
ah! darn that short term memory retention... :lol:
:angel:
-
AECTOACAD gives you options to bind xrefs, version, etc...
-
AECTOACAD gives you options to bind xrefs, version, etc...
I did not know that - so I tried it - and the AecToAcad command also works back on LDC 2009 (oldest version I have)... I had no clue! Never used the command before today. :oops:
I appreciate the clarification, Matt (sorry Nibs!). LoL :beer:
-
AECTOACAD gives you options to bind xrefs, version, etc...
DWGConvert also gives these options and doesn't require the creation of new files (although you can do so, if you would like).
-
but, DWGCONVERT doesn't clean up AEC content. :-)