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

How to expand Smart Objects in Photoshop Scripts

Participant ,
Jul 25, 2017 Jul 25, 2017

Copy link to clipboard

Copied

How to expand Smart Objects in Photoshop Scripts

TOPICS
Actions and scripting

Views

4.5K

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

correct answers 1 Correct answer

Community Expert , Jul 26, 2017 Jul 26, 2017

Have you even searched the web before posting?

Expanding Smart Objects

Photoshop: Unpacking the smart object | Photoshop Family Customer Community

But (as as JJMack pointed out) the task is not possible in all cases – for example a Curves Layer in an RGB Smart Object could not be copied to a CMYK image containing the SO.

Votes

Translate

Translate
Adobe
Community Expert ,
Jul 25, 2017 Jul 25, 2017

Copy link to clipboard

Copied

What do you mean by expand? Do you want to open the smart object or change  the smart object layers current transform?

JJMack

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 ,
Jul 25, 2017 Jul 25, 2017

Copy link to clipboard

Copied

examples

Screen Shot 2017-07-26 at 8.46.17 AM.png

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 ,
Jul 25, 2017 Jul 25, 2017

Copy link to clipboard

Copied

You you would need to open the smart object layers  object in Photoshop and copy the layer from the temp work document into the document containing the smart object layer than close the work document. and create a layer group of the layer you copied into the document.   You will not be able to do that for all smart object layer.  All objects may not open in Photoshop.  If the smart object layer's object is a placed file the work document file may open in ACR or some other application like AI not Photoshop

JJMack

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 ,
Jul 26, 2017 Jul 26, 2017

Copy link to clipboard

Copied

Have you even searched the web before posting?

Expanding Smart Objects

Photoshop: Unpacking the smart object | Photoshop Family Customer Community

But (as as JJMack pointed out) the task is not possible in all cases – for example a Curves Layer in an RGB Smart Object could not be copied to a CMYK image containing the SO.

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
Enthusiast ,
Jul 27, 2017 Jul 27, 2017

Copy link to clipboard

Copied

LATEST

You can check my script: Magic scripts for Photoshop

Anyway I am working on new fastest version with cleaner code. It will be able reproduce most of SO transformations.

If you need this in your script and you don't need exact placement, content resize, styles scaling ect. you can use "place" method (AM code) with "expand" flag. But first you need to convert your smartObject into linked object and then get your path to file. So you will need about 20-30 lines of code instead 200-500.

You can check this method in library panel. Hold "Alt" key and drag smart object from library to canvas.

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