Hello,
I was wondering if anyone has been able to find a solution for DGN purge for Civil 3D 2011. We have been battling the large file size and are trying to find a solution that would work for us. I have found various codes online but can't seem to get it to work for 2011. Any help appreciated. Thanks!
Nathan
Nathan,
Were you able to get any responses or resolutions? I am having the same problem and am need of a fix.
Thanks,
Steve
Hi Steve,
The only solution we have found is to do a dxfout of the information we want and to re-import it back into a blank drawing. Which is ok for 2D drawings but anything with C3D data you need to xml out and re-import. It's a lot of work for possibly not much gain. We are currently working to move to 2015 which we have tested and found to fix the problem as well. (It's incredibly frustrating and expensive when you can't get the support for a 3/4 year old version!)
Nathan
Hello from France
http://forums.autodesk.com/t5/Visual-LISP-AutoLISP-and-General/dgnlspurge-dll-creating-a-button-or-l...
http://knowledge.autodesk.com/support/autocad/downloads/caas/downloads/content/autocad-C2-AE-dgn-hot...
http://knowledge.autodesk.com/support/autocad/downloads/caas/downloads/content/autocad-C2-AE-dgn-hot...
http://knowledge.autodesk.com/support/autocad-pid/troubleshooting/caas/sfdcarticles/sfdcarticles/Net...
Autodesk has published workaround or routines for ACAD 2014/2013/2012 ...
The Purge of unused DGN Line Styles is integrated into a special option of the 2015 PURGE command ...
I estimate that Autodesk has made reasonnable effort about this problem !?
Patrice BRAUD
All that DGN stuff is tied to anonymous group.
There is a lisp that will delete all the anonymous groups. Then you can purge all the linetypes, text styles, and shape files.
http://www.cadstudio.cz/en/download.asp?file=DelGrpA
Feel free to use the attached .dll (of course, I wouldn't recommend using .dll if you don't trust it...totally up to you).
All credit for the code is to Kean Walmsley. I simply compiled it for C3D 2011 (I don't recall the minor change that was needed to make it work for 2011).
We typically netload it from acad.lsp once per session, and then run the command "dgnpurge" from acaddoc.lsp every time a drawing is opened.
We then also run these simple purge commands in acaddoc.lsp to remove typical dgn styles that were exposed from the dgnpurge:
(vl-cmdf "_.purge" "lt" "*dgn*,*acad*,*$*" "n")
(vl-cmdf "_.purge" "st" "*dgn*,*acad*,*$*" "n")