CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor and other Autodesk products [www.cadforum.cz]
Cesky English Deutsch
Login/Register:
 Visitors: 2839 

CAD tip CAD tip # 10926:

Question CAD 
 %  platform  category 
Q - question

Self-intersecting polylines and polylines with duplicate vertices.

A - answer 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) 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 www.cadstudio.cz/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]).

lwpolyline vertex node

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 programatically. Returns a number of problem points or nil.

ACAD
100% *  CAD 
27.5.2016    1370x  
Comments   Tell a friend
applies to: AutoCAD ·

See also:
Tip 9185:Fix problem of Areas on self-intersecting curves in AutoCAD 2013.
Tip 7648:Area not displayed for some boundaries or hatches.
Tip 3202:A closed polyline cannot be extruded.


Back   All CAD Tips All CAD tips&tricks

Using assemblies in Inventor LT. « | » Which Autodesk products do support the IFC format?

Have we helped you? If you want to support the CAD Forum web service, consider buying one of our CAD applications, or our custom software development offerings, or donating via PayPal (see above). You may also add a link to your web - like this "fan" link: CAD Forum - tips, utilities, blocks for Autodesk products
CAD:    OS:    Categ: 
Text:  FAQ glossary   



Featuring:
Increase your productivity with our set of add-on functions for AutoCAD Civil 3D
CADstudio Civil Tools More info


Please use these tips at your own risk.
CAD Studio (Xanadu) is not responsible for possible problems that may occur as a result of using any of these tips.
TOPlist