Community
Civil 3D Forum
Welcome to Autodesk’s Civil 3D Forums. Share your knowledge, ask questions, and explore popular AutoCAD Civil 3D topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

DGN Purge for 2011

6 REPLIES 6
Reply
Message 1 of 7
nduimering
2379 Views, 6 Replies

DGN Purge for 2011

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

6 REPLIES 6
Message 2 of 7
KeyBored
in reply to: nduimering

Nathan,

 

Were you able to get any responses or resolutions? I am having the same problem and am need of a fix.

 

Thanks,

 

Steve

Message 3 of 7
nduimering
in reply to: KeyBored

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

Message 4 of 7
braudpat
in reply to: nduimering

 

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 ( Supporting Troops ) - Autodesk Expert Elite
If you are happy with my answer please mark "Accept as Solution" and if very happy please give me a Kudos (Felicitations) - Thanks

Patrice BRAUD

EESignature


Message 5 of 7
Bill_Myron
in reply to: nduimering

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

 

 

Message 6 of 7
jaysonharrison
in reply to: nduimering

this worked wonderfully thank you so much!

Message 7 of 7
rick.hberg
in reply to: jaysonharrison

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")

Civil 3D 2014
Windows 7 x64

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Rail Community


 

Autodesk Design & Make Report