Is there a way to get the transformation ratio of a smart object?
I am writing a script that adjusts the layers size and position. There are no problems with pixel layers, but there is a problem with smart objects: they can be in a document with a transformation already done, information about which is stored in the layer settings.
In the smartObjectMore object, I can get information about the initial size of the layer (size) and the coordinates of the node points of the object (transform (ActionList)), but I can’t figure out how to calculate the transformation coefficient of the layer based on this data? (I'm only interested in the simplest cases of transformation without changing the proportions).

