deleting layer filters

i am using autocad 2004 and when i open the layer properties manager, i cannot see any of the drawing layers because of a layer filter that was set by a previous user. is there any way to delete layer filters?

Reply to
donnie
Loading thread data ...

Reply to
Jerry G

"donnie" wrote in news:1163075793.613799.69070 @b28g2000cwb.googlegroups.com:

This very simple filter works for me:

;;; Removes named layer filters ;;; Command line: (Purgefilters) (defun Purgefilters () (vl-Catch-All-Apply '(lambda () (vla-Remove (vla-GetExtensionDictionary (vla-Get-Layers (vla-Get-ActiveDocument (vlax-Get-Acad-Object)) ) ) "ACAD_LAYERFILTERS" ) ) ) (princ) )

Save it ie. PURGEFILTERS.LSP and run. Remember to use the parentheses with the command.

Reply to
Caveman

PolyTech Forum website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.