Huge Dwg size with no entities
Huge Dwg size with no entities
(OP)
I have a dwg that is 2 mb in size and should really only be about .5 mb. It was sent to me from a client. I purged completed, tried to wblock it, ran a qtext check and it is still 2 mb. I then did a little test: opened up a new empty dwg and saved-it was 25kb. Then copyclipped one line (yes only a line about 4' long, nothing special) from the large dwg into the new dwg and saved. The new dwg saved at 1.5 mb. The same thiung happened no matter what I copied into the new dwg, it always seemed to bring other 'hidden' invisible things over. There is nothing in the dwg but a line. I then tried to purge this new dwg again, said nothing there, but still saved at 1.5mb. When I did an audit pass #3 said there were 20,000 items, but what and where? Then tried to recover it, this also listed 20,000 items. No idea what they can be. There is nothing that I can think of to do. It is incredibly frustrating trying to saved what should be a small dwg and it takes 2 minutes. Not to mention trying to just edit it. Any ideas?





RE: Huge Dwg size with no entities
this should help.
http://www.caddevelopmentgroup.com/Downloads.htm
Intel P4 3.0 GHZ
512 DDRAM
Win 2000 Pro
Autocad 14, 2002 with EP 2.3.1
RE: Huge Dwg size with no entities
I think the drawing is not made by Acad. Did You save as r12.dxf?
Lothar
ADT 2004
ACAD 2002
RE: Huge Dwg size with no entities
RE: Huge Dwg size with no entities
http://www.eng-tips.com/viewthread.cfm?SQID=94374&SPID=555&newpid=555&page=1
"Everybody is ignorant, only on different subjects." — Will Rogers
RE: Huge Dwg size with no entities
RE: Huge Dwg size with no entities
Are there any objects in any of the layout tabs?
It could be any number of things, but it seems impossible that there is nothing in the drawing. I have ADT drawings that are full of 3D objects, and I rarely get over 1MB
The foundation plan I am working on right now is only 267K, and it is all in 3D.
Try saving it down to R12 to see if it will purge everything out.
RE: Huge Dwg size with no entities
;===========================================================
(defun C:LayerFiltersDelete ()
(vl-Load-Com)
(vl-Catch-All-Apply
'(lambda ()
(vla-Remove (vla-GetExtensionDictionary
(vla-Get-Layers
(vla-Get-ActiveDocument
(vlax-Get-Acad-Object))))
"ACAD_LAYERFILTERS")))
(princ "\nAll layer filters have been deleted.")
(princ))
(defun C:LFD () (C:LayerFiltersDelete))
;===========================================================
John Peterson
www.wba-arch.com
RE: Huge Dwg size with no entities
Your lisp routine was the ticket.
The layers filters were the cause, all 20,000 of them. (Yes 20,000) Apparently layer filters follow a copyclipped entity to the new dwg. I guess that's how there became so many. I never would have found them.
Here's the breakdown: Drawing started at 1.4 Mb, after running your routine, new dwg size... 57 kb.
Many Many Thanks
Kevin
RE: Huge Dwg size with no entities
RE: Huge Dwg size with no entities
RE: Huge Dwg size with no entities
RE: Huge Dwg size with no entities