Copy link to clipboard
Copied
When I copy objects that are linked to graphic style from one document and paste them into a document with the identical graphic styles (Same appearance, same name) new graphic styles are created with the same name plus appended numbers. Is there a way that the graphic styles are not duplicated, so that I don't have to delete the duplicated styles manually?
I would appreciate very much your help.
Daniel
If I open "example1_cs6.ai" selected and deleted all unused styles. I draw a fresh new line and assign the graphic style Feine Linie to this, every time I copy paste this line within the same document a new Feine Linie2... Feine Linie3... appears. The other styles seemed to be good.
To fix I created a new stroke and matched the settings black 1 pt stroke. I then option dragged the stroke on over "Feine Line" swatch in graphic styles to replace all settings. Now when I copy a stroke with the up
...Copy link to clipboard
Copied
If that is happening, there must be something different about the graphic style. If you move the fill color color even 1% will do that.
You could compare them in appearance to see if something is different.
Copy link to clipboard
Copied
Thanks for answering. I have checked it. The appaerance is identical.
Copy link to clipboard
Copied
Check the colors are identical. I agree with Kurt if you can post the files, that would really help, as something more complex may be going on here.
Most often this is caused by a difference in the style attributes. Unless you physically updated a style this should not happen.
I would normally suggest the merge styles flyout to help clean this up so you can move on, but 2 reasons:
Copy link to clipboard
Copied
What you are describing is an issue (bug) in older versions of Illustrator (for example CS5).
Which version are you using?
Copy link to clipboard
Copied
I am using Illustrator CC Version 22.1.
Copy link to clipboard
Copied
Can you share the .ai files?
Copy link to clipboard
Copied
Yes, here are two files as an example. When I copy an oject from example1.ai ti example2.ai new duplicate graphic styles are added with the same appaerance.
Copy link to clipboard
Copied
If you would like to save down to CS6 I can look at this, or can someone else please review.
Copy link to clipboard
Copied
Thanks. Here are the same files for Illustrator CS6.
Copy link to clipboard
Copied
If I open "example1_cs6.ai" selected and deleted all unused styles. I draw a fresh new line and assign the graphic style Feine Linie to this, every time I copy paste this line within the same document a new Feine Linie2... Feine Linie3... appears. The other styles seemed to be good.
To fix I created a new stroke and matched the settings black 1 pt stroke. I then option dragged the stroke on over "Feine Line" swatch in graphic styles to replace all settings. Now when I copy a stroke with the updated settings to "Feine Linie" that no longer duplicates.
So you may need to recreate the problematic ones you have, and option drag over graphic style to redefine.
The color profile differs between both your documents, but do not think that has anything to do with this after testing.
Copy link to clipboard
Copied
Many thanks for your help and the time you spent on it. Now I know the reason for this issue and have a soulution.
Copy link to clipboard
Copied
Am glad you were able to follow, as I tried to be brief and simple so you could apply the learnings to example 2.
I enjoy working on these issues, especially ones like these which I have never seen before., so thankyou for posting.
We may never know exactly what corrupted your styles, but as you cleanse the other files you may find a pattern such as graphic styles created a long time ago or some unique setting on those.
Please come back, should you have any more questions, or just to let us know how you are doing with this after some time has passed. If you do not need any more assistance please choose answer that best helped. This changes post color to green letting all know which posts no longer are in critical need of addressing.
Copy link to clipboard
Copied
The graphic styles contain different swatches (same percentage of black, though).
Make sure that you only use one of the swatches (either "grau" or "Graufläche")
Copy link to clipboard
Copied
I still had he same problem. Some of the graphic styles still duplicate when you copy paste an object. Especially lines. I tried to buid it from scratch but that was okay until you saved and opened the document again. With the graphic Styles where there was an arrow or a 'round corner'-effect added to the lines there was no problem. So I put a very small round-corner effect (0,01) on the regular and dotted lines...
and... it works...
Grtz,
Filip
Copy link to clipboard
Copied
I have this issue in EVERY THING I make. If I have 4 styles, inside of about an hour I will have 25 more duplicates of those 4 syles. Then when I want to revise the style — it doesn’t take to half the work rendering the whole use of graphic styles useless.
Copy link to clipboard
Copied
I have the same Problem in ALL Illustrator CC versions up to CC2023.
There is one workaround if you work within one document (not copy and paste between documents).
Do not use copy and paste!
Use option drag instead, or transform (translate or move ) with pressing the copy button on the bottom left to make a copy.
Then move the copied objects where you want them.
If you alredy have a lot of duplicated styles and want to get rid of them:
• make all layers visible
• drag a new line, apply a copied style (i.e. Line Green 2).
• In the application menu click on select / same / object style or graphic style (I use e a German version, there it is Auswahl / Gleich / Grafikstil).
All objects with the same style as the new line are selected.
• Click on the style you want to apply: Line Green.
• In the styles panel click on "select all unused" to select unused styles and click on the trash symbol.
If they are still not selected, there may be objects in symbols with the style applied. check all objects in symbols for applied styles.
Takes some time but it works. To make it easier make an action so you can do the selection of the objects with one click, without scrolling through the menu.