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.
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:
Featuring: Track your time spent working on AutoCAD or Revit jobs - automatically with CADstudio JobTime
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.
CAD Forum - tips, tricks, help, how-tos and FAQ for AutoCAD, LT, Inventor, Revit, Map, Civil 3D, MapGuide, 3ds max and other Autodesk software (support by CAD Studio)