Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

cleaning drawings of hidden items 1

Status
Not open for further replies.

davidg47

Electrical
Mar 23, 2004
3
Hi Everyone,

I work for a firm where we receive drawings from a wide variety of companies, architects, mechanical engineers, county offices, and the list goes on and on.

Some of the drawings we receive contain a large amount of stuff that we cannot see or find. We turn on all the layers and purge and purge until there are no longer any items to be purged. But, still some drawings are several megabytes larger than they should be. We have tried and tried to make the drawings smaller all without result.

Does anyone know of something we have not done that we need to do? Or does anyone know of a technique that can be used that will get rid of all the garbage that might come with a file?

Thanks in advance for your help...

David in NY
 
Replies continue below

Recommended for you

That only turns the entire drawing into a block. We need to clean up the drawing and still be able to work with it.
 
No.

You have to select the objects with a crossing window -> "_wblock" -> open the new *.dwg -> explode...

Lothar

ADT 2004
 
There is a lisp operation called layerfiltersdelete.lsp. It will clean all unused layers in the drawing. Load attached application to Autocad and type layerfiltersdelete. The result will be: "All layer filters have been deleted", and the file size will reduce.

Robert
 
 http://files.engineering.com/getfile.aspx?folder=6c6c767d-1058-4a2d-9ff5-85a31eb33498&file=LayerFilterDelete.lsp
yes,
do you have a proxy-warning?
2D/3D?

Which AC-version are you using?

ADT 2004
 
We have a list here that we check for when we have oversize files.

Layer Filters
Unused groups
Empty Text
Registered Applications

That usually fixes the issue. We rarely have any problems with proxy objects, but that has happened too.

The first three have lisp routines available, and the last one is through the commandline (-purge) options of purge.
 
I always just wblock to a new file name as posted above.
IMO that is the only way that works everytime.
 
YES, we have started using the wblock option and it has worked out very well.

Thanks everyone for all your help and advice.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor