ask a simple guestion

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

  1. homhsu

    homhsu Guest

    I want to implement a select of only one entity in Lisp, which is similiar
    to "ssget".
    Does "ssget" have some kind of "filter-list" to limit or exist other
    function which can do that


    thanks for help
    homling
     
    homhsu, Sep 18, 2003
    #1
  2. homhsu

    Paul Turvill Guest

    If the user will be seleting the one item, use (entsel). If the selection is
    to be made without user intervention, you'll have to provide a bit more
    detail ...
    ___
     
    Paul Turvill, Sep 18, 2003
    #2
  3. homhsu

    BillZ Guest

    Yes,

    (setq ss1 (ssget "+.:E:S" '((0 . "TEXT"))))

    This line will allow one pick and it will accept only text.
    ;
    ;
    ;

    Bill
     
    BillZ, Sep 18, 2003
    #3
  4. homhsu

    DonB Guest

    Bill,



     



    Where did you find documentation on the "+.:E:S"



    portion?



     



    I've never seen anything about the + or ..



     



    Thanks,



     



    Don



     



    "BillZ" <> wrote in message news:...

    Yes,

    (setq ss1 (ssget "+.:E:S" '((0 . "TEXT"))))

    This line will allow one pick and it will accept only text.
    ;
    ;
    ;

    Bill
     
    DonB, Sep 18, 2003
    #4
  5. homhsu

    Luis Guest


    That comes from Tony Tanzillo research, and I have seen some in the
    ObjectARX docs.
     
    Luis, Sep 18, 2003
    #5
  6. homhsu

    BillZ Guest

    I was given this in an answer to a post, from Jason P:

    From: Jason Piercey
    Date: Mar/10/03 - 20:54 (GMT)
    Not sure if this works in R14 (give it a try and let us know)

    ;; Courtsey of Stig Madsen, posted by Robert Bell
    (ssget "+.:E:S" '((0 . "ARC")))

    Bill
     
    BillZ, Sep 18, 2003
    #6
  7. homhsu

    DonB Guest

    Thanks Luis,

    Hey,, how did your presentation go at the AutoCAD user's group?

    Don
     
    DonB, Sep 18, 2003
    #7
  8. However, Tony documented the "+." option.

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


    | I was given this in an answer to a post, from Jason P:
    | From: Jason Piercey
    | Date: Mar/10/03 - 20:54 (GMT)
    | Not sure if this works in R14 (give it a try and let us know)
    |
    | ;; Courtsey of Stig Madsen, posted by Robert Bell
    | (ssget "+.:E:S" '((0 . "ARC")))
    |
    | Bill
    |
     
    R. Robert Bell, Sep 18, 2003
    #8
  9. homhsu

    DonB Guest

    Thanks Bill,



     



    I'll bet there's still a lot more undocumented stuff out there too.



     



    I've just changed some of my routines to take advantage your example.



     



    Thanks again.



     



    Don



     



    Also thanks to Stig and Robert!



     



    "BillZ" <> wrote in message news:...

    I was given this in an answer to a post, from Jason P:

    From: Jason Piercey
    Date: Mar/10/03 - 20:54 (GMT)
    Not sure if this works in R14 (give it a try and let us know)

    ;; Courtsey of Stig Madsen, posted by Robert Bell
    (ssget "+.:E:S" '((0 . "ARC")))

    Bill
     
    DonB, Sep 18, 2003
    #9
  10. homhsu

    DonB Guest

    AND Tony!



     



    "DonB" <> wrote in message news:...



    Thanks Bill,



     



    I'll bet there's still a lot more undocumented stuff out there too.



     



    I've just changed some of my routines to take advantage your example.



     



    Thanks again.



     



    Don



     



    Also thanks to Stig and Robert!



     



    "BillZ" <> wrote in message news:...

    I was given this in an answer to a post, from Jason P:

    From: Jason Piercey
    Date: Mar/10/03 - 20:54 (GMT)
    Not sure if this works in R14 (give it a try and let us know)

    ;; Courtsey of Stig Madsen, posted by Robert Bell
    (ssget "+.:E:S" '((0 . "ARC")))

    Bill
     
    DonB, Sep 18, 2003
    #10
  11. homhsu

    BillZ Guest

    Aw, Shucks, it was nothing guys, really. :^)

    Bill
     
    BillZ, Sep 18, 2003
    #11
  12. homhsu

    Luis Guest

    Went pretty good, I spent a little more than three hours... and the best
    part was the chance to meet very nice people.
     
    Luis, Sep 18, 2003
    #12
  13. homhsu

    DonB Guest

    Congratulations!

    Don

     
    DonB, Sep 18, 2003
    #13
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.