using filter on acad proxy objects

Discussion in 'AutoCAD' started by mkh, Sep 14, 2004.

  1. mkh

    mkh Guest

    I received a dwg from an engineer with lots of proxy objects in it. Is there
    a way to use "filter" command so I can erase them all at one time?

    Mike
     
    mkh, Sep 14, 2004
    #1
  2. mkh

    T.Willey Guest

    Mike,

    Here is something that will get you started, but you will have to figure out a way to erase the one's within other layouts other then the current one.

    Tim
    (defun c:pG(/ pg1)
    (setq pg1 (ssget "x" '((0 . "ACAD_PROXY_ENTITY"))))
    (if (/= pg1 nil)
    (sslength pg1)
    (prompt "\nNo proxy's in drawing. ")
    )
    (princ)
    )
     
    T.Willey, Sep 14, 2004
    #2
  3. mkh

    mkh Guest

    works great....layouts are not a problem for my use. I am erasing only in
    model space. I appreciate it very much.

    Mike


    out a way to erase the one's within other layouts other then the current
    one.
     
    mkh, Sep 14, 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.