Highlight Unclosed Plines

As its name suggests, this function will temporarily highlight polylines that are not closed. The intention of this function is for checking that the pillars and perimeter polylines are closed, since their closure is necessary for calculating quantities.

The procedure is to simply select the polylines to check. Then, after highlighting the selected polylines that are unclosed, the routine will pause for user input and then unhighlight the polylines. Thus, no changes are made to the drawing.

A polyline is considered closed if the endpoints are the same or if the closed flag is set. The closed flag can be set when creating a polyline, with the pline command, by using 'C' to close at the end.

Prompts

Select the polylines to check.
Select objects: 
select polylines
The program then reports either:
Unclosed polylines are highlighted.
Close all or selected polylines (All/<Selected>)?
press Enter Look for the highlighted polylines and select the ones to close.
or
All the selected polylines are closed.

Pulldown Menu Location: Works
Keyboard Command: unclosed
Prerequisite: Polylines