Drawing: Topology Check
drawing_topology_checkDetect dangling ends, near misses, and interior crossings in AutoCAD piping and electrical line networks. Read-only topology check spots connectivity gaps without altering the drawing.
Instructions
Topology of a line network (spec §11): dangling ends, near misses (end to end and
end to line within gap) and interior crossings (two lines of one layer crossing
away from their ends). Never modifies the drawing.
An end that touches another network line, any curve on another layer (a tank outline) or the box of any block reference (a valve, a pump) is connected. Arcs and bulged polyline segments are measured as true arcs; arcs are not tested for crossings. The default layers come with their classification as evidence.
Refused before any work: a path that does not exist or cannot be read, a
layers entry that is not a layer of the drawing (the drawing's layers named),
no layer classified as a network layer when layers is omitted (name them),
a non-positive tol or gap, and a gap that does not exceed tol.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gap | No | Two ends, or an end and a line, closer than this without touching are a near miss; default 0.2 % of the network's diagonal (never under 10 x tol). | |
| tol | No | Within this distance two ends are joined. | |
| path | No | A DXF to check instead of the current document; it is read, never opened or modified. | |
| limit | No | Rows kept per list; counts are complete. | |
| layers | No | Layers to check; default: every layer the vocabulary classifies as piping or electrical with confidence >= 0.9. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||