Select everything other than Hatch

Discussion in 'AutoCAD' started by Craig West, Jul 2, 2004.

  1. Craig West

    Craig West Guest

    Hi everyone,

    I know how to set a selection set to just include Hatches,

    (setq -ss (ssget '((0 . "hatch"))))

    but how do I create one that will do the opposite and include everything
    except hatches.

    Craig
     
    Craig West, Jul 2, 2004
    #1
  2. Craig West

    zeha Guest

    Craig,

    is it like this

    (setq -ss (ssget '((-4 . "<NOT")(0 . "HATCH")(-4 . "NOT>"))))
     
    zeha, Jul 2, 2004
    #2
  3. Craig West

    BillZ Guest

    Or this:

    (setq ss (ssget "X" '((0 . "~HATCH"))))


    Bill
     
    BillZ, Jul 2, 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.