closing polyline

closing polyline

bertbert
Advocate Advocate
33,552 Views
5 Replies
Message 1 of 6

closing polyline

bertbert
Advocate
Advocate

Hello,

if I draw a rectangle which I then strech by the center grip of the last drawn PL section, the polyline is not closed and therefore doesn't strech the closing angle.

I have the impression that this did not occure before. Is there a way to automatically close a PL?

Are there PL settings for this?

seems very basic but I can't find a solution anywhere.

Thanks a lot in advance!

BB

0 Likes
Accepted solutions (1)
33,553 Views
5 Replies
Replies (5)
Message 2 of 6

Patchy
Mentor
Mentor

Click on the polyline, go to Properties, there is a place to change close or open.

Untitled.png

Message 3 of 6

cadffm
Consultant
Consultant

If you polyline is not a closed polyline, all works well, otherwise: Share a sample (DWG with one Polyline with that problem)

 

>" Is there a way to automatically close a PL?"

automatically, not.

 

>"Are there PL settings for this?"

Settings? No, but if you creates a polyline you have the option CLOSE to close the polyline.

 

For add/remove the 'closed' setting for a polyline, select them and use your Properties Palette [CTRL+1]

But think about: This Step will not remove unnecessary vertex, for this you can use OVERKILL after

you set the polyline 'closed' flag.

Sebastian

0 Likes
Message 4 of 6

Kent1Cooper
Consultant
Consultant
Accepted solution

@bertbert wrote:

....

if I draw a rectangle which I then strech by the center grip of the last drawn PL section, the polyline is not closed and therefore doesn't strech the closing angle.

....


 

That means that you drew the rectangle by picking the four corners and picking again on the start point  to "close" it, but that does not  make it Closed by AutoCAD's definition.  You need to either draw it with the RECTANG command, or if you draw it by picking the four corners, for the last closing segment use the  Close option, rather than picking back on the starting point.  Either way, you will have a "truly" Closed Polyline that will behave as you expect in STRETCH and other commands.

 

If you drew it that incorrect way, and then in the Properties palette you choose to make it Closed, you will end up with a five-vertex Polyline, with two of the vertices at the same place, and a zero-length closing segment.  This can cause problems with certain routines or commands.  Unfortunately, you won't be able to just use the Remove Vertex option in grip-editing to remove that last segment and then Close it in Properties, because it won't offer that option at a grip where two vertices coincide.  So I would suggest you EXPLODE it and use JOIN or PEDIT to Join the four Lines into a closed Polyline.  Or you can use PEDIT's Edit-vertex option to remove the last segment, but that's a more complicated process.

Kent Cooper, AIA
0 Likes
Message 5 of 6

bertbert
Advocate
Advocate

Thank you!!!

I was not specific enough! I know how to close a PL. I was just wondering if there was a setting to do so automatically.

regards,

BB

0 Likes
Message 6 of 6

Kent1Cooper
Consultant
Consultant

@bertbert wrote:

.... I know how to close a PL. I was just wondering if there was a setting to do so automatically. ....


Just use the Close option as mentioned when you want one Closed.  Surely you wouldn't want something that would automatically Close any  Polyline you draw....

 

If you have a lot of them that are already drawn and not properly closed, you can truly close them all with the CLPL command defined >here<.  There are other offerings on that thread, including one that will close Polylines that don't actually coincide at their start and end vertices, at Message 26.

Kent Cooper, AIA
0 Likes