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.
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.
Thanks for answering. I have checked it. The appaerance is identical.
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:
What you are describing is an issue (bug) in older versions of Illustrator (for example CS5).
Which version are you using?
I am using Illustrator CC Version 22.1.
Can you share the .ai files?
If you would like to save down to CS6 I can look at this, or can someone else please review.
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.
Many thanks for your help and the time you spent on it. Now I know the reason for this issue and have a soulution.
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.
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")
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...