How to join two lines in AutoCAD 2017?

When trying to stretch a line to continue a path, or when doing joints and corners, I have a pain joining 2 lines together, either one of them is on top of the other or there’s a gap between the 2 lines, it’s like trying to solve a rubiks cube, when trying to find that one line that is not joined properly, any tips?

Asked on February 27, 2017 in AutoCAD.
Add Comment
6 Answer(s)


Hey Ahmed


To check if a loop is closed or not, check the Properties of the lines (PR).

The fastest way to join or close lies is by joining(J) and trimming(TR); using the fillet(F) Command and setting the radius of the fillet to zero(0).


Answered on March 1, 2017.

These are also my favorite commands for joining lines at the corner. To clarify, Ahmed, trimming is useful for lines that already overlap, extend is good for lines that don’t overlap, and fillet with a radius of 0 works for either one. So try to stick to fillet as a default.

on June 25, 2020.
Add Comment

Hi there Ahmed,


When drawing I always use the snap on technique, when drawing a line/polyline you need to press shift+right click to snap to the vertex.


Answered on February 28, 2017.

That’s great but how do I fix the current drawing? it has multiple occurrences of the current issue.

on March 1, 2017.
Add Comment

hello Ahmed,


another trick is activating

OSNAP (F3) when drawing and then select which  snap you want to have (END-MID-CEN)



Answered on March 1, 2017.
Add Comment

If you are trying to hatch a closed section:

Set HPGAPTOL to a number(drawing unit) from 0 ->5000 (0 for no gaps, 5000 to a drawing full of hatching I guess 😀 😀 😀 ) ; what this does is that it sets the maximum size of a gap to ignore




Answered on March 1, 2017.
Add Comment

Hi there Ahmed, Actually joining 2 lines in AutoCAD is really easy here’s how:


Answered on March 1, 2017.
Add Comment

Autocad  is pretty good software, it hardly seems fair to blame the software for what will almost certainly turn out to be UIE (user induced error).
ReMark is right, no shortage of folks willing to help here on the forum.
Try using the FLATTEN command before trying to join them, perhaps that will help.
If you were having difficulty with JOIN in the PEDIT command, make sure that when you see the FUZZ DISTANCE prompt you hit ENTER, so that the command will complete.
If you ignore that and ESCAPE, they will not be joined.

Answered on December 9, 2017.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.