Skip to main content
Participant
February 16, 2011
Question

Delete/remove duplicate paths

  • February 16, 2011
  • 4 replies
  • 93243 views

Good morning

I have a file based on an imported dxf. It seems to contain all the paths twice (at least), which is making the file huge (~30Mb).  Is there a quick method of selecting/removing these duplicates?

Many thanks

Lindsay

Spec. Illustrator CS5, Windows XP Pro.

    4 replies

    Participant
    April 15, 2019

    Here's an easy fix:

    Select all of the lines you want to check for duplicates

    object > group

    Pathfinder > outline

    Stroke > 1 (or whatever you want)

    object > ungroup

    hope that helps!

    Participant
    April 30, 2019

    Your solution is easiest and perfectest. THANK YOU SO MUCH!

    L_AshfordAuthor
    Participant
    February 17, 2011

    Monika:  Thank you!  That worked brilliantly.  Some of those other scripts are going to be useful too.

    ru73:Thank you for the offer, but I’m sure the duplication occurred in Illustrator as I was amending paths, rather than in the dxf.

    Monika Gause
    Community Expert
    Community Expert
    February 16, 2011

    You could try scripts.

    Find some here: http://illustrator.hilfdirselbst.ch/dokuwiki/en/skripte/javascript/uebersicht

    SmartGraphicArt
    Inspiring
    December 4, 2013

    Awesome! I've been struggling with this same problem, now I can fix it.

    Sachinji
    Participating Frequently
    April 25, 2014

    wr-removeduplicates.js script not working perfectly. I have tested but it lefts some duplicate objects.

    Any other script, plug-in, technique to remove duplicates?

    Participating Frequently
    February 16, 2011

    I am not sure if there is an easy way in Illustrator. I use a CAD program that has a function for eliminating overlapping lines. If you want, email me the original DXF file, and I will email you back a DXF file that has the overlaps removed. You can send it to ru73atyahoodotcom