-
toComp() analog in a jsx script?
Anyone know if there is a method I can use in a script to achieve spatial transforms similar to toComp()/fromComp() in an expression?
I’m looking to create a bounding box for multiple selected layers which will bound the apparent extents of the layers in question as seen by the active camera.
I guess I could use expressions to set the size of the bounding box then extract its transform values in the script, but I’d rather do it all in one place if possible.
Thanks in advance.
PS This is my first post, but I’ve been reading for ages. So thanks also retroactively for all the great answers to questions I’ve had in the past.
Scott