Accessing layer filters via lisp

Discussion in 'AutoCAD' started by Martin Shoemaker, Aug 7, 2004.

  1. I've been trying to put together a 'delete layer filters' routine that
    uses lisp, not vlisp. I've looked through source code available on the
    internet and I've found good lisp examples of removing the xrecords, but
    everyone seems to use vlisp for accessing the dictionary. Is it
    possible to access the dictionary in lisp?

    Any help or examples on how to access the proper dictionary via lisp
    would be appreciated.

    Martin
     
    Martin Shoemaker, Aug 7, 2004
    #1
  2. Martin Shoemaker

    John Uhden Guest

    Something like this oughta do:
    (entdel (cdr (assoc 360
    (entget (cdr (assoc 330
    (entget (tblobjname "layer" "0"))))))
    )
    )
     
    John Uhden, Aug 8, 2004
    #2
  3. Thanks. I'll give it a try.
     
    Martin Shoemaker, Aug 8, 2004
    #3
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.