Skip to main content
Document Geek
Community Expert
Community Expert
Feb 14, 2020 6:20 PM UTC
Answered

How to do a wholesale swap of all instances of one shape to another shape?

I have a design that uses a large amount of a single shape. I've been refining it and now I want to do a wholesale swap one of shape to another shape. I know I can do this one at a time using symbols, but I'm wondering if there is a way to have Illustrator search for all instances of a particualr shape geometry and replace them with the new shape. Maybe a script like this exists?

 

This topic is closed to new replies. Start a new post to keep the conversation going.
Kurt Gold
Kurt GoldCorrect answer
Community Expert
Feb 14, 2020 7:34 PM UTC

Yes, there are scripts (do a search fo zamena or zamena size, for example).

 

And there are other ways as well. Which one depends on the Illustrator version you are using. What version is it?

9 replies

Kurt Gold
Community Expert
Community Expert
Feb 14, 2020 8:02 PM UTC

You may try the built-in Global Edit feature.

Translate
Document Geek
Community Expert
Community Expert
Feb 15, 2020 3:12 AM UTC

Zamena will do exactly what I want. And I had no idea that global editing existed. I learn two new things today. Thank you so much!

Translate
Kurt Gold
Community Expert
Kurt GoldCommunity ExpertCorrect answer
Community Expert
Feb 14, 2020 7:34 PM UTC

Yes, there are scripts (do a search fo zamena or zamena size, for example).

 

And there are other ways as well. Which one depends on the Illustrator version you are using. What version is it?

Translate
Document Geek
Community Expert
Community Expert
Mar 11, 2020 12:42 AM UTC

Zamena script works great!

 

Do you also know of a way to replace just the geometry of an object with the geometry of another object? (Leaving the fille and stroke alone)?

Translate
Disposition_Dev
Legend
Mar 11, 2020 6:01 PM UTC

You can create a graphic style with the source object, run the zamena script to change the object, then apply the graphic style to the new object.

 

If you were so inclined, you could write a script that does all of this for you, including making a function call to the zamena script.

Translate