Has anyone experienced dictionaries that do not show up in the dictonaries collection? I have a file that has been totally purged, but remains at over 800K. When i save the drawing to dxf, and open it in notepad, a dictionary with a handle that is not any of the handles in the dictionary class shows up, with a ton of garbage attached to it. When i delete this manually in notepad, and open the DXF in AutoCAD and save it -- BAM -- the file size is down to about 30K. I've been doing 'object dumps' thru Vlisp and 'print screens' in VBA. I've even run an evaluation copy of SUPERPURGE on it without much luck. Any help would be greatly appreciated. Thanks.
I'd be interested in getting the "bad" drawing, for a look-see. Do you still have my MW e-mail address? -- R. Robert Bell Has anyone experienced dictionaries that do not show up in the dictonaries collection? I have a file that has been totally purged, but remains at over 800K. When i save the drawing to dxf, and open it in notepad, a dictionary with a handle that is not any of the handles in the dictionary class shows up, with a ton of garbage attached to it. When i delete this manually in notepad, and open the DXF in AutoCAD and save it -- BAM -- the file size is down to about 30K. I've been doing 'object dumps' thru Vlisp and 'print screens' in VBA. I've even run an evaluation copy of SUPERPURGE on it without much luck. Any help would be greatly appreciated. Thanks.
You got me curious too. You have literally a thousand named layer filters. You can view them in the layer manager or with Express Tools Database Viewer. The dict is attached to the Layer table and it is safe to delete the dict. It will get recreated when someone saves a layer filter. Robert also has a lisp to delete layer filters. -- ---- Ed ---- though the file size does approach 1meg, i'll try posting it now. This dictionary occurs in many, many drawings, and i'm attempting to write a utility to purge the drawing of the seemingly unneeded data. TIA - Lanny
Lanny, You got me curious as well. As Ed noted, you have MANY named layer filters in this drawing. Deleting them and saving took the file size down to 31kb. What's worse, is if you copied just a single object from this drawing into another drawing ALL of those filtes would tag along, too, increasing the other drawing size accordingly. Here's Robert's LayerFilterDelete lisp: ;downloaded from AcadX.com, author: R. Robert Bell (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)) HTH, Jeff though the file size does approach 1meg, i'll try posting it now. This dictionary occurs in many, many drawings, and i'm attempting to write a utility to purge the drawing of the seemingly unneeded data. TIA - Lanny