Copy link to clipboard
Copied
Gotta be a simpler way to do this -- maybe I am thinking too hard. I'd like to copy a layer from one document to another and place the layer on the second document at a known location. I cannot seem to find the way to tell the paste command where to place the paste. I end up getting the bounding box for the layer and computer the offset from the desired point then issuing a move command to 'align' the layer where I want it. Seems there should be a simpler way
Copy link to clipboard
Copied
I don't think there is a short, easy way to copy a layer into a different doc at a fixed location. You have to do one of the following.
1. What you are doing now. Copy, change docs, paste, find the bounds and translate.
2. Get the bounds of the layer to copy and determine height and width, switch docs and make a selection in pixels [X, Y,X+ width,Y+height], then paste. You do not need to translate.
With either of those methods you loose any layer properties like blend mode, masks, etc
3. Use the duplicate method to dupe the layer and all it's features to the new doc. It should be at the top of the layer stack and in the top right corner. Move the layer where you want it in the layer stack and translate to the desired X,Y
Copy link to clipboard
Copied
Michael,
Thanks for the confirmation -- I was hoping someone had a better way. Guess I'll just wrap it in a function to hide the complicated stuff. Based on other programs I have scripted it just seems like they left this feature out
Cheers
E
Find more inspiration, events, and resources on the new Adobe Community
Explore Now