Skip to main content
峰高71907650
Participant
November 4, 2018
Answered

How to get other attributes of layers from the action manager

  • November 4, 2018
  • 1 reply
  • 584 views

How to get other attributes of layers from the action manager?

For example, get fill and stroke color of the fill layer.

The attribute of the rotation and zoom position of the intelligent object.

Attribute parameters of adjust layer .

This topic has been closed for replies.
Correct answer JJMack

When r-bin posted the code I asked him I think what you are asking if he could post code to get more information about smart object associated transform.   He did that favor for me.  I believe It retrieved all if the information including the warp distortion that is possible.   That the Part the over my head knowledge.  I'm too old to go back to math school.  Again In the thread

Re: Get Layer Transform X Y Top Left Coordinate Position

Please look at what r-bin posted for me. Feb 22, 2018 I believe that code is what you want as far a smart object layer go.    Normal layer are transformed  you can not undo or change the transforms that have been done.  You can just do additional transform.  A nor transform is a destructive process.  You no longer has the original pixels you have a different image.  Normal layers have layer bounds and pixels in the bounds.   Smart Object layer pixels are not changed bet Photoshop tools so you can redo  filters and redo transforms and undo transform warps and filters.

Well. Here is not a complex code that will give you everything (as I think) values from smartObjectMore.

You decide what to do with them. )

1 reply

JJMack
Community Expert
Community Expert
November 6, 2018

If you have a Smart object later r0bin has pisted soeb CC 2018 scipt code the can retriebe quite a bif of  indormayion ablut smaer object layer.  All Smart object layers have an associated tranform. Hise scripts can retrive the transform settinfs and warp information.  The ware stiff is ablev my pay grade and is greek to me.

Re: Get Layer Transform X Y Top Left Coordinate Position

JJMack
峰高71907650
Participant
November 6, 2018

Thank you very much,I have get the four point of the Smart object,but I want to free transformation an other layer coincidence with the Smart object layer,Rely on these four points,How to make them coincide?

Another way of saying,I have four points,How to transform the angle of the layer to these four points?

JJMack
Community Expert
JJMackCommunity ExpertCorrect answer
Community Expert
November 6, 2018

When r-bin posted the code I asked him I think what you are asking if he could post code to get more information about smart object associated transform.   He did that favor for me.  I believe It retrieved all if the information including the warp distortion that is possible.   That the Part the over my head knowledge.  I'm too old to go back to math school.  Again In the thread

Re: Get Layer Transform X Y Top Left Coordinate Position

Please look at what r-bin posted for me. Feb 22, 2018 I believe that code is what you want as far a smart object layer go.    Normal layer are transformed  you can not undo or change the transforms that have been done.  You can just do additional transform.  A nor transform is a destructive process.  You no longer has the original pixels you have a different image.  Normal layers have layer bounds and pixels in the bounds.   Smart Object layer pixels are not changed bet Photoshop tools so you can redo  filters and redo transforms and undo transform warps and filters.

Well. Here is not a complex code that will give you everything (as I think) values from smartObjectMore.

You decide what to do with them. )

JJMack