• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Delete/remove duplicate paths

New Here ,
Feb 16, 2011 Feb 16, 2011

Copy link to clipboard

Copied

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.

Views

85.6K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
Explorer ,
Feb 16, 2011 Feb 16, 2011

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 16, 2011 Feb 16, 2011

Copy link to clipboard

Copied

You could try scripts.

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Feb 16, 2011 Feb 16, 2011

Copy link to clipboard

Copied

Good tip Monika,

I just tested the script wr-removeduplicates.js from the website you provided.

All you have to do is select the lines you want to check for duplicates, and run the script. My test consisted of 24 overlapping rectangles that were all rotated at 20.49 degrees. It worked great.  Thanks again for the tip.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Dec 04, 2013 Dec 04, 2013

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Apr 24, 2014 Apr 24, 2014

Copy link to clipboard

Copied

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?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 29, 2019 Apr 29, 2019

Copy link to clipboard

Copied

Astute Graphics' Vector First Aid plug-in can remove duplicate paths and perform other fixes to imported artwork. It's not perfect, but the plug-in can eliminate a lot of hassles and cut time spent cleaning up artwork.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 17, 2011 Feb 17, 2011

Copy link to clipboard

Copied

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 15, 2019 Apr 15, 2019

Copy link to clipboard

Copied

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!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 29, 2019 Apr 29, 2019

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 05, 2021 Apr 05, 2021

Copy link to clipboard

Copied

Could you be more expecific? I have a group of 11 shapes that turned out to be 44... When I group them to go outline it goups the all 44. 

May be Im not doing it right...

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 08, 2022 Jun 08, 2022

Copy link to clipboard

Copied

THX a lot !!! it works perfectly

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 22, 2022 Jun 22, 2022

Copy link to clipboard

Copied

LATEST

Wow - thanks for this clever workaround, without any need for scripts!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines