Results 1 to 5 of 5

Thread: Can I create frequently used layer filters in LISP?

  1. #1
    Active Member
    Join Date
    2002-01
    Posts
    98

    Default Can I create frequently used layer filters in LISP?

    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.

  2. #2
    I could stop if I wanted to
    Join Date
    2006-07
    Posts
    233

    Default Re: Can I create frequently used layer filters in LISP?

    It seems there is a solution to your problem on the autodesk website. The lin is posted below.
    http://discussion.autodesk.com/forum...hreadID=456426

  3. #3
    100 Club
    Join Date
    2007-08
    Posts
    172

    Default Re: Can I create frequently used layer filters in LISP?

    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.
    Attached Files Attached Files

  4. #4
    Active Member
    Join Date
    2007-11
    Posts
    68

    Talking Re: Can I create frequently used layer filters in LISP?

    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.

  5. #5
    Active Member
    Join Date
    2002-01
    Posts
    98

    Default Re: Can I create frequently used layer filters in LISP?

    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.

Similar Threads

  1. Reactor lisp filters?
    By Chris.N in forum AutoLISP
    Replies: 6
    Last Post: 2010-03-15, 03:56 PM
  2. Layer filters - again.
    By jaberwok in forum AutoCAD Tips & Tricks
    Replies: 23
    Last Post: 2008-11-27, 10:32 AM
  3. Replies: 2
    Last Post: 2006-05-18, 01:39 PM
  4. Layer Filters
    By cadconcepts in forum AutoCAD General
    Replies: 2
    Last Post: 2005-01-10, 06:02 PM
  5. filters in lisp/scripts?
    By Martin P in forum AutoLISP
    Replies: 3
    Last Post: 2004-06-23, 07:48 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •