1 Reply Latest reply on Jan 27, 2016 6:07 AM by Ivana Kolin

    SolidWorks Sketch Repair - Errant Line Segments

    Jason Taylor

      I have written a program that loops through a folder of .DXF files, imports them to a sketch, extrudes them to various thicknesses based on values in a text file, and saves them as a 3D part. Some of the files aren't "clean" and have the tiny extra line segments or gaps between points. I'm able to fix the gaps with the "merge gaps closer than" feature on import. However, I can't figure out a way to fix sketches with errant line segments (see picture for example). Does anyone know of a setting or a way of doing this with code after the sketch is imported?