Joining parallel lines with single line

Joining parallel lines with single line

Anonymous
Not applicable
7,253 Views
20 Replies
Message 1 of 21

Joining parallel lines with single line

Anonymous
Not applicable

Hello everyone,

Very new to AutoCad & lisp coding so please forgive my ignorance.

Am looking to join two (regular) parallel lines, end point to end point, with a single perpendicular line. Ideally it would be great if I could just window select the two lines I wanted connected but would settle for manually selecting the two end points.

I know much has been said & done about achieving this with polylines etc but I need my lines to remain as just regular lines.

I did find a lisp routine that came close but it joined the parallel lines with lines at both ends: thus creating a rectangle. Other routines have placed multiple lines between the two parallels creating a train track kind of look.

Again, I apologise as the above mentioned lisps may be quite easy to modify so that only one line is added but that is currently above my pay grade!

Hopefully my request has made sense & someone clever can solve my issue.

Thank-you everyone.

Brad

0 Likes
Accepted solutions (2)
7,254 Views
20 Replies
Replies (20)
Message 21 of 21

Kent1Cooper
Consultant
Consultant

I think you're just not finishing it.  After you pick an object on the target Layer and give it the Offset distance, it does those offsets and end caps, and asks again for an object on another target Layer -- hit Enter if you don't want to add another.  Then it asks for an internal point, and again, so you can pick more than one -- hit Enter again when you've picked them all.

Kent1Cooper_0-1736516397327.png

The prompts could probably be clearer about that -- I had just left them as they were in the supplied code.

Kent Cooper, AIA
0 Likes