overlapping lines

Discussion in 'AutoCAD' started by Knotfreak, Aug 12, 2003.

  1. Knotfreak

    Knotfreak Guest

    Hi,

    I'm looking for a lisp routine that will let me detect and delete any
    overlapping lines in a drawing in autocad 2004.

    Thank you.
     
    Knotfreak, Aug 12, 2003
    #1
  2. Knotfreak

    P.C. Guest

    Hi

    This is a simple math. subject that is alway's was an option with Lisp. Case two
    set of points intersect you can have the entities deleted automaticly.
    Case you have 4 endpoints of lines there even is a build in AutoLisp function
    that return the point where the two lines intersect with otere condisions Lisp
    will provide what you define , you can also invent your snap functions, snapping
    to a point 22 millimeters offset the point you pick. Case the two sets of points
    intersect with the Inters function, you can even have them deleted, case they
    would intersect case the lines was longer, by the right parameter , the way Lisp
    work already yield the two lines "names" when you look for the endpoints for the
    inters calculation, offering you to delete "entity name", that you need to catch
    anyway to get the points to calculate..
    P.C.
    http://www.designcommunity.com/scrapbook/2649.html
     
    P.C., Aug 12, 2003
    #2
  3. I think he has some sloppy drafting, or as a colleague calls it "slappy
    drooping", to clean up.
     
    Michael Bulatovich, Aug 13, 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.