CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor and other Autodesk products [www.cadforum.cz]
Cesky English Deutsch
Login/Register:
 Visitors: 2450 

CAD tip CAD tip # 3589:

Question CAD 
 %  platform  category 
Q - question

How to delete (purge) unused layer filters?

A - answer In AutoCAD 2004, there is the "Delete all" button in the Named layer filter part of the Layer Properties Manager. In AutoCAD 2005, 2006, 2007 and higher, select your Layer filters in the Layer Properties Manager dialog, right-click and choose Delete.

In older AutoCAD versions (or in AutoCAD 2004/2005) you can perform the following VBA macro to erase (remove) the layer filters (use e.g. the VBASTMT command, all on a single line):

For Each ent In ThisDrawing.Layers.GetExtensionDictionary("ACAD_LAYERFILTERS"): ent.Delete: Next ent

In AutoCAD 2005, add also (single line):

For Each ent In ThisDrawing.Layers.GetExtensionDictionary("ACLYDICTIONARY"): ent.Delete: Next ent

There is also the "REMLAY" VLISP downloadable from the CAD Studio VIP server. Or you can use the DeleteFilters.VLX utility available on www.cadstudio.cz/download (APPLOAD the VLX file).

In AutoCAD 2006 and higher you can also use FILTERS command.

As a standalone EXE tool for purging layer filters you can use the PurgeIDS utility (see www.cadstudio.cz/download).

ACADACAD2005ACAD2006ACAD2007ADTMapMDT
100% *  CAD 
5.2.2004    51583x   FAQ  
Comments   Tell a friend

See also:
Tip 7779:Unreconciled New Layers notifications.
Tip 7570:Print XREF entities faded.
Tip 7503:Autodesk 3ds Max keyboard shortcuts.
Tip 7398:Do you know the +LAYER command?
Tip 6807:AutoCAD progressbar "Scanning the Drawing..."


Back   All CAD Tips All CAD tips&tricks

How to import a Word document into AutoCAD and keep it linked (like xref)? « | » Where to find blueprints (views) of cars?

Have we helped you? If you want to support the CAD Forum web service, consider buying one of our CAD applications, or our custom software development offerings, or donating via PayPal (see above). You may also add a link to your web - like this "fan" link: CAD Forum - tips, utilities, blocks for Autodesk products
CAD:    OS:    Categ: 
Text:  FAQ glossary   



Featuring:
Need easy intranet document management? Try iPROJECT More info


Please use these tips at your own risk.
CAD Studio (Xanadu) is not responsible for possible problems that may occur as a result of using any of these tips.
TOPlist