deleting layer filters

Nov 09, 2006 2 Replies

Most relevant reply

Jerry G

Assuming you are only dealing with the issue of a single layer filter: At the top left of the layer manager is the layer filter that is active, at that location is the name of the current layer filter. This name box can be selected and changed to show all layers. To delete the…

Read the full reply

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?



"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.

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required