How to select everything except viewports?

Discussion in 'AutoCAD' started by MRL, May 16, 2004.

  1. MRL

    MRL Guest

    Hello,

    Does anybody know how to select every object in the current tab with
    ssget? (but filter out viewports)

    (ssget "X"
    (list '(2 . "~VIEWPORT") (cons 410 (getvar "CTAB"))) ; current TAB only
    )

    This filter won't work with leader+mtext !
    (i didn't test it on all objectnames)

    How can i optize this filter?

    Martin
     
    MRL, May 16, 2004
    #1
  2. MRL

    David Bethel Guest

    (0 . "~VIEWPORT")

    -David
     
    David Bethel, May 16, 2004
    #2
  3. MRL

    MRL Guest

    Thanks David,

    I shall try it.


    Martin


     
    MRL, May 16, 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.