This is a little off topic, but:
Here is a LISP routine that makes a bunch of lines into a polyline. The lines have to be drawn end-to-end. Works with arcs, etc.
(DEFUN C

J () (COMMAND "PEDIT" PAUSE "Y" "J" "BOX" PAUSE PAUSE "" "X"

(PRINC)) ; Make a line a polyline & join selected lines
Pick one line of the group, then use a crossing box to pick anything you want joined to it.
Here's another that does the same thing but then closes the polyline. Like, you draw 3 sides of a box and then use this to make them a polyline and by closing it, the last side is drawn for you.
(DEFUN C

JC () (COMMAND "PEDIT" PAUSE "Y" "J" "BOX" PAUSE PAUSE "" "C" "X"

(PRINC)) ; Make a line a polyline, join selected lines, close it