This forum contains outdated content and is available for reading only. Please contact technical support if you have any questions.

Notification

Icon
Error

Options
Go to last post Go to first unread
nikmauro  
#1 Posted : Monday, June 22, 2020 3:16:37 AM(UTC)
nikmauro

Rank: Newbie

Groups: Guest
Joined: 12/24/2018(UTC)
Posts: 7

Hello it is possible to change the image where its second path inside Smartobject?

Example

Smart Object with name > Design
Inside Design another SmartObject with name > Design2


How it is possible to replace the image inside the smartobject Design2



here my working code for the first level

Code:
if (frame.Type == FrameType.SmartObject && frame.Name == "Design")
                {
                    var smartFrame = (PsdSmartFrame)frame;
                    var uriimage = '';
                    return smartFrame.ToGraphicsContainer(
                        new Aurigma.GraphicsMill.Bitmap(uriimage), ResizeMode.ImageFill
                        );
                }

Edited by moderator Thursday, June 25, 2020 1:13:24 AM(UTC)  | Reason: Not specified

nikmauro  
#2 Posted : Wednesday, June 24, 2020 4:38:02 AM(UTC)
nikmauro

Rank: Newbie

Groups: Guest
Joined: 12/24/2018(UTC)
Posts: 7

Any update?
Fedor  
#3 Posted : Thursday, June 25, 2020 5:13:38 AM(UTC)
Fedor

Rank: Advanced Member

Groups: Guest
Joined: 7/28/2003(UTC)
Posts: 1,660

Thanks: 5 times
Was thanked: 76 time(s) in 74 post(s)
The iterative processing of Smart Objects is not available out of the box. You need manually extract an internal template and process it using another instance of PsdProcessor:

https://www.graphicsmill...sdSmartFrame_GetData.htm
Best regards,
Fedor Skvortsov
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.