Join Command Removes a Corner

Join Command Removes a Corner

michaelwL4TRH
Contributor Contributor
1,935 Views
16 Replies
Message 1 of 17

Join Command Removes a Corner

michaelwL4TRH
Contributor
Contributor

Does anybody know why the join command removes a corner when joining two polylines sometimes? 

 

I have a polygon that is made up of two separate polylines. See image below.

michaelwL4TRH_0-1675363370659.png

If I select the other line and go "Join", I get the following:

michaelwL4TRH_1-1675363407930.png

Which is not at all what I want. Anybody know how to avoid this because it seems to happen all the time to me.

 

Thanks

 

 

0 Likes
Accepted solutions (2)
1,936 Views
16 Replies
Replies (16)
Message 2 of 17

Patchy
Mentor
Mentor

Attach your .dwg

0 Likes
Message 3 of 17

GeeHaa
Collaborator
Collaborator

Can you post the drawing?

0 Likes
Message 4 of 17

pendean
Community Legend
Community Legend
Where are you "joining" exactly, what two sides are you clicking on? It is unclear for sure.
and if both "L" are PLINEs, can you PEDIT>JOIN them without the same issue?
Message 5 of 17

michaelwL4TRH
Contributor
Contributor

I click on the top portion (highlighted in the first image), then the botton portion, type "Join" in the command line and then it ends up as the last image. I can do PEDIT then JOIN but I don't find that as easy for my workflow as just typing Join and continuing on.

 

Drawing has been attached. 

0 Likes
Message 6 of 17

Patchy
Mentor
Mentor

It doesn't do that with my Autocad.

Even the top is 2dPoly and the other is LWpolyline, they still joined without clipping.

Probably some funky thing from the rebar detailing you add on.

What is your PLINETYPE current setting?

0 Likes
Message 7 of 17

michaelwL4TRH
Contributor
Contributor
PLINETYPE was set to 0. I changed it to 1, tried again and same issue. Changed it to 2, tried again and same issue.

I tried to join again, this time with the rebar add-on disabled and it still does not join properly. So not sure if it is the add-on causing the issue or another problem I am having.
0 Likes
Message 8 of 17

Patchy
Mentor
Mentor

Try the period  or a _:

.JOIN

or _JOIN does it make any difference.

0 Likes
Message 9 of 17

michaelwL4TRH
Contributor
Contributor
Both have the same issue where it deletes that bottom right corner
0 Likes
Message 10 of 17

Patchy
Mentor
Mentor
Accepted solution

Try autolisp to replace your join command.

Give it a test. Drag and drop it into your drawing area then type in JOIN.

 

0 Likes
Message 11 of 17

dany_rochefort
Collaborator
Collaborator
Accepted solution

@michaelwL4TRH  Simply use the Fillet command rather than join. I can be done in 2 clicks if you select the right lines. Makes a closed polyline when finished.

 

01.png

Message 12 of 17

pendean
Community Legend
Community Legend
@michaelwL4TRH Thanks for the file: how did you end up with two different PLINE types there if I may ask?
That seems to be the problem testing here in R2023.1.2.
Did this file at some point have a pre-2000DWG life? Or from a 3rd party program conversion to DWG?

FILLET tip above works just fine: A quick BOUNDARY command usage is a quicker replacement. Unless you have hundreds of this exact issue in your files it is almost not worth dissecting it anymore 😉
Message 13 of 17

michaelwL4TRH
Contributor
Contributor
This works. Thanks I will try this for now.
Message 14 of 17

michaelwL4TRH
Contributor
Contributor
This also works. Thanks!
Message 15 of 17

michaelwL4TRH
Contributor
Contributor
Honestly I couldn't tell you how I got two different line types. I almost always am just selecting polyline and running with it from there.

i have this happen occasionally, usually when it does happen I will just redraw it and sometimes that will fix it.

Thanks for the help guys
Message 16 of 17

Kent1Cooper
Consultant
Consultant

@Patchy wrote:

Try autolisp to replace your join command.

....


Just be aware that I edited that JOIN command before there was a JOIN command in AutoCAD.  Today I call it something else [PJ = Polyline Join, as a clue to its object-type limitation], to preserve the ability to use JOIN for what it can connect that PEDIT/Join cannot -- 3DPolylines, Splines, partial Ellipses.  You could incorporate an UNDEFINE into the beginning, if you really want to replace the regular JOIN command.  But that means you can't do some of the things the "real" command can do, except by using the .JOIN command name with preceding period to force use of the native command that has been Undefined.

Kent Cooper, AIA
Message 17 of 17

Patchy
Mentor
Mentor

Thank you Kent.

0 Likes