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 tolerance?

    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. What about setting the pickbox to zero beforehand, and then restoring it
    later?
    --


    MichaelB
    www.michaelbulatovich.com

    entity at a specific point but the results are affected by
     
    Michael Bulatovich, Sep 29, 2003
    #2
  3. Cliff Davis

    Jeff Mishler Guest

    Try using "nentselp" instead, then if it finds an entity test to see if it is a line...... but even this won't work if the point
    happens to be an intersect point of 2 or more entities.....

    HTH,
    Jeff
     
    Jeff Mishler, Oct 1, 2003
    #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.