View Full Version : Can I create frequently used layer filters in LISP?
pmedina
2009-03-10, 04:18 PM
Greetings, I have a set of layer filters I frequently use. For example, All ON, All OFF, All non-referenced (~*|*), All FAA (*FAA*), etc.
Is there a way I can use LISP to create my favorite layer filters?
Thanks for any help.
Lions60
2009-03-10, 06:40 PM
It seems there is a solution to your problem on the autodesk website. The lin is posted below.
http://discussion.autodesk.com/forums/thread.jspa?threadID=456426
'gile'
2009-03-11, 10:04 PM
Hi,
Here's an Import/Export layer filter LISP.
It works with propety layer filters.
EXPFLTR exports a layer filter from the current drawing to a text file (extention: .flt)
IMPFLTR imports a layer filter from a flt file or a drawing.
It would be nice if you could create a block with all your layers, lines types, & Layer filters in it. So far you can't import filters via a block. Maybe next autocad it will be released.
pmedina
2009-04-07, 03:18 PM
The LayerFilter.LSP does work, nice job. It only seems to do one at a time. I'd like to do several in one shot.
I have not been able to get the AutoDesk forum post solution to work yet.
I doubt you'll be able to import filters thru a block. This was enabled when layer filters first came out but it created drawings with thousands of filters so they disabled it.
vBulletin® v3.6.7, Copyright ©2000-2009, Jelsoft Enterprises Ltd.