ssget at a specific point

Discussion in 'AutoCAD' started by Cliff Davis, Sep 29, 2003.

  1. Cliff Davis

    Cliff Davis Guest

    I am trying to use the following code to check for the presence of an entity at a specific point but the results are affected by
    whether objects fall within the current pickbox.

    (ssget point_test '((0 . "LINE")))
    Is there a way to select at specific point, perhaps even allowing for a specific amount of tolerence?

    I have also tried:
    (ssget "c" point_test point_test)
    when zoomed out far enough returns nearby lines as well.

    Thanks
    Cliff
     
    Cliff Davis, Sep 29, 2003
    #1
  2. Cliff Davis

    bestafor Guest

    HiHo;

    (ssget "W" '(0 0) '(5 5)) Creates a selection set of the objects inside
    the window from (0,0) to (5,5)
    Replace '(0 0) '(5 5)
    with '(your coord) '(your coord)
    .............................................................................
    ..............................
    entity at a specific point but the results are affected by
     
    bestafor, Sep 29, 2003
    #2
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.