Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A guide on how to duplicate layers from another PSD #246

Open
okuma10 opened this issue May 6, 2023 · 1 comment
Open

A guide on how to duplicate layers from another PSD #246

okuma10 opened this issue May 6, 2023 · 1 comment

Comments

@okuma10
Copy link

okuma10 commented May 6, 2023

I want to apply a PSD with an overlay template(that I plan to toggle it's visibility with Python based on some data) to an image. So far I created a new document and applied the "add image as layer" but how do I copy the layers from the template?
I managed to open the template document via Session.app.open() (that changed the active document but I suppose it should be fine).
But there are no examples of transferring layers from one document to another.
Can anyone help?

@djs45
Copy link

djs45 commented Oct 24, 2023

Hello. Can you simply duplicate template to new file and work on it ?
app.activeDocument.duplicate()

Or is it for Add layers from PSD template to a non empty PSD ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants