New CADforum look launched.
Over 1.088.000 registered users (EN+CZ). AutoCAD tips, Inventor tips, Revit tips. Try the new Engineering calculator. New AutoCAD 2026 commands and variables.
Over 1.088.000 registered users (EN+CZ). AutoCAD tips, Inventor tips, Revit tips. Try the new Engineering calculator. New AutoCAD 2026 commands and variables.
CAD tip # 10926:
Question
A
Some DWG drawings may contain curves (polylines) with selfintersecting segments (creating loops), or polylines containing duplicate vertices - superfluous repeating vertices or "backing" (zig-zag, self-retracing, overlapping) segments or segment parts. Such polylines with non-standard geometry may cause different problems when processing (in 3D, for Civil objects, LISP apps, etc.), in older AutoCAD versions, even the AREA command failed on these.
To find any self-intersections and duplicate vertices, you can use the freeware utility CADstudio SelfIntersect, which can be downloaded from Download. Load the VLX file with APPLOAD, type the command SELFINTERSECT and select a polyline (or use "M" for multiple, or "H" for this help). The application displays any intersections (in green), duplicate vertices (in red), and zig-zag parts (retracing, touching - in yellow) with temporary marks (remove them by Redraw, [F7]/[F7]).
Duplicate start/end vertex on open polylines may be OK.
NOTE: you can also use the LISP function:
(SelfIntersect [objname])
defined in this tool to check objects programmatically. Returns a number of problem points or nil.
ACAD


27.5.2016
33919×
applies to: AutoCAD ·