I have a drawing with many closed polygons. I don't want any open polygons or other lines in my drawing. Is there a way to check a drawing for closed polygons, open polygons, lines, etc?
Thanks,
Kurt
Check for closed polygons
Moderator: andrew
Forum rules
Always indicate your operating system and QCAD version.
Attach drawing files and screenshots.
Post one question per topic.
Always indicate your operating system and QCAD version.
Attach drawing files and screenshots.
Post one question per topic.
Re: Check for closed polygons
The first thing to note is that there are two types of closed polygons:
- Logically closed polylines. These are closed by definition, i.e. there is always a segment that connects the last with the first vertex.
- Geometrically closed polylines. These just so happen to be closed because the first and the last vertex are at the same location.
Only logically closed polylines can be detected.
You could use the property editor:
- Select > Select all
- View > Property Editor
- Change Selection in property editor to Polygon
- Check if the property Closed is Yes (or No) for all selected polylines Alternatively, you could use the selection filter to quickly select all closed or all open polylines:
- View > Selection Filter
- Logically closed polylines. These are closed by definition, i.e. there is always a segment that connects the last with the first vertex.
- Geometrically closed polylines. These just so happen to be closed because the first and the last vertex are at the same location.
Only logically closed polylines can be detected.
You could use the property editor:
- Select > Select all
- View > Property Editor
- Change Selection in property editor to Polygon
- Check if the property Closed is Yes (or No) for all selected polylines Alternatively, you could use the selection filter to quickly select all closed or all open polylines:
- View > Selection Filter
Re: Check for closed polygons
Andrew,
Thank you for the detailed reply. This is exactly what I was looking for. This is very helpful.
Kurt
Thank you for the detailed reply. This is exactly what I was looking for. This is very helpful.
Kurt