Problem whit (ssget "_x")

Discussion in 'AutoCAD' started by DDI, Sep 18, 2003.

  1. DDI

    DDI Guest

    Hello from Italy, first sorry for my english.
    I have a problem whit filter in Autolisp.
    Can i select whit (ssget "_x") not all drawing but only my selection. I want to select two layer only in my selecion group like the filter command. Please give me help.
     
    DDI, Sep 18, 2003
    #1
  2. (ssget "X") looks at the entire drawing.

    You should do this: (ssget '((8 . "Layer1,Layer2")))


    --
    R. Robert Bell, MCSE
    www.AcadX.com


    | Hello from Italy, first sorry for my english.
    | I have a problem whit filter in Autolisp.
    | Can i select whit (ssget "_x") not all drawing but only my selection. I
    want to select two layer only in my selecion group like the filter command.
    Please give me help.
     
    R. Robert Bell, Sep 18, 2003
    #2
  3. DDI

    Mark Propst Guest

    or (ssget "X" '((8 . "Layer1,Layer2")))
    if you want all objects on those layers and don't want to select on screen
     
    Mark Propst, Sep 18, 2003
    #3
  4. The original post *did* say "not all drawing"... <vbg>

    --
    R. Robert Bell, MCSE
    www.AcadX.com


    "Mark Propst" <mark-at-atreng-dot-com> wrote in message
    | or (ssget "X" '((8 . "Layer1,Layer2")))
    | if you want all objects on those layers and don't want to select on screen
    |
    | | > (ssget "X") looks at the entire drawing.
    | >
    | > You should do this: (ssget '((8 . "Layer1,Layer2")))
    | >
    | >
    | > --
    | > R. Robert Bell, MCSE
    | > www.AcadX.com
    | >
    | >
    | > | > | Hello from Italy, first sorry for my english.
    | > | I have a problem whit filter in Autolisp.
    | > | Can i select whit (ssget "_x") not all drawing but only my selection.
    I
    | > want to select two layer only in my selecion group like the filter
    | command.
    | > Please give me help.
    | >
    | >
    |
    |
     
    R. Robert Bell, Sep 18, 2003
    #4
  5. DDI

    Mark Propst Guest

    you expect me to READ???
    :)
     
    Mark Propst, Sep 18, 2003
    #5
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.