Skip to main content
Participant
June 21, 2020
Question

Actions - Replacing Smart Object Layers

  • June 21, 2020
  • 2 replies
  • 819 views

Hello everybody. I have a design I am working on. It consists of different sized shapes. For each shape, I want to embed a pattern or just a solid color into the shape.

 

What I do is just drag a clipart pattern onto my design, hold Alt so i can insert it inside. I then turn that clipart layer ino a smart object. I do this for almost everything on the design so I can just right click he smart object layer and replace contents when i do new designs.

 

I set up Actions today. I went to every smart object I have and I replace contents. I run the action. No errors. The only thing is that a bunch of my items did not get filled with the replacement images. I don't know why that would happen. The names all match. 

 

As you can see in my screenshot, only 1 of my top left bunting flags gor changed to my new dark color. Only one of the icons got changed on the right from green to yellow. On the bottom, only one of my dots changed color... I cannot put my finger onto what I am doing wrong..

This topic has been closed for replies.

2 replies

JJMack
Community Expert
Community Expert
June 22, 2020

You need to know how smart object layers work in order to use replace content. All smart object layers are not created the same way. Most smart  object layers objects are  Photoshop support file object  not all.  For example Photoshop does not support Camera Raw Image files or Vector files yet these files can be Placed into photoshop documents as smart object layers.  Camera Raw files can also be opened into Photoshop document as smart object layers through Adobe ACR Plug-in. 

 

Pixels are rendered for Smart object layer object by Photoshop to be used for the smart object layers content. These pixels are set in concrete and can be altered by  photoshop Photoshop tools.  Every Smart object layers has an associated Object transform that transform these into Pixels used for the actual layers pixels. The object Pixels are not changed they are not the actual layer pixel content a transform of these pixels are the actual layers content pixels.  Additional Smart filters can be added the smart object layers that can alter the transformed pixels used for the layers content.  Again the object rendered pixels are not altered.  These pixels are the starting point. The associated object transform creates the actual layer pixel content and after that smart filters may be applied in the order they were added to the smart object layer.

 

When you use replace content. The Smart object associated object transform and the smart filters settings are not changed or altered. The smart Object is replaced and new pixels are rendered for the replaced object.  The replacement object therefor must be exactly the same aspect ration, sized and print resolution as the original object that was replace in the smart object layer. For the transform and smart filters setting are set for the original object the layers was created with.   You can not use any size replacement. Replacement must be the correct size for correct operation.

 

You can also edit the smart object layer  Object to replace its content instead of using replace content.  However, you still can not change the Smart object aspect ratio and size. For the Layer Associated object transform and smart filters to work correctly. Additionally all objects files will not open in Photoshop. RAW files will open in ACR and Vector file will open in AI if you have AI installed. The Object size must be maintained. You can replace the object content with content form any size files however the content need to be in the object files canvas and its canvas aspect ratio and size can not be changed for correct operation of the Associated Object transform and smart filters

JJMack
Garry_B24Author
Participant
June 21, 2020

EDIT - I think I know why. The layers have the same names.....I will try changing that up. I guess that is why it only did the first one and none after within my groups

Garry_B24Author
Participant
June 21, 2020

Looks like that was the reason! Glad I founf this forum nonetheless. Excited to learn.

Kukurykus
Legend
June 22, 2020

Mark your solution as correct 😉