PDA

View Full Version : Help on removing hidden data in drawings



cresta
7th Sep 2006, 09:01 pm
I do work sometimes with drawings provide directly from the architects, (to eliminate recreating floor plans and/or elevations) One time some architect send me some drawings that hidden inside the drawings were some concealed information (or whatever) that, once I picked up one line from the their drawings inmediately made my drawings increase the size (I guess with some hidden information). from 25 kbytes to 1.5 Megabites I have a sample that I made to demonstrate the problem that I could submit to anyone that may try to solve this puzzle and give me some adviceo:)
Those :twisted:drawings somehow managed to reach and :shock:infect the basic drawings that I use to keep important data and some blocks that I use. I have tediusly and painfully recreating some of those to eliminate the excesive drawing size but they somehow keep coming. can anyone help me to take a look at these? Thank you

pennylove
7th Sep 2006, 10:11 pm
it's probably the filters. To check your filters, go to your layer manager and check to see how many filters you have set up. If you have a lot, here is a lisp routine that will delete them for you:



;;; Written by: R. Robert Bell
(princ "\nType LFD to start")
(defun C:LFD ()
(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))

cresta
8th Sep 2006, 01:10 am
Yes! :othat did it I thank you very very much i loaded the routine you just gave me and I tried on my sample drawing and then I saved the drawing and went from 1,468 KB to 28 KB.:D
My problem is solved thank you again. I am tremedously grateful and appreciative of your help. I am :geek: now

rkmcswain
8th Sep 2006, 01:17 pm
Note: That lisp routine does not work in AutoCAD 2005 and later.

Here is a link to a version of this lisp routine that works on all AutoCAD versions, and allows you to specify a filter to retain certain layer filters.

http://tinyurl.com/meo9m

cresta
8th Sep 2006, 11:24 pm
:thumbsup: I will keep and guard jealously the file I downloaded, from your information, in my treasures file for future ref. (If I may need it in the future). - I do have Autocad version 2006 but I only use to convert drawings on higher versions back to 2000, Heck for all I need and use for the work I do, version 14 was good enough (First on Windows/no more DOS) The guys at Autodesk :xkeep changing the icons and they forget some. For instances version 2006 does not have any icon to put on your tool bars for “Align” :?. Align is one the greatest tools in Autocad when you have to rotate parts of your drawings and exactly align with other angled parts. I use that a lot. I had to make my own raggedy icon to put at version 2006:)

fahim108
9th Sep 2006, 03:14 pm
See! :shock: I'm not the only person in here flooding my posts with smileys!! :twisted: :P hehe! j/k...

cresta
9th Sep 2006, 10:30 pm
Lots of Smilies and I got my AVATAR in there too!!
But I guess you have to become a senior member to have a large AVATAR, like yours fahim108, they don't let me have larger than 120X80.:D:lol::):P

fahim108
10th Sep 2006, 04:15 am
:shock: haha! ...It's actually 120 in width and 80 in hieght... your avatar looks lovely, anyways! :)