-
Getting world position of child layer via scripting
Hi everyone!
I’m writing a script to help me with character rigging. I’m bringing layers in from Illustrator, and in order to define where anchor points should go, I simply have them drawn with small dots on separate layers. The idea is to use these pre-defined anchor points to define where limbs from Duik should be positioned so I don’t have to do it by hand each time.
Is there an Extendscript scripting equivalent of the following? :
layer("layer xyz").toComp(layer("layer xyz").anchorPoint);I can’t seem to find a similar method in the Extendscript library. My logic is, if I can get the world position of a child, that’ll make things easier when it comes to doing the math on where the parented limbs of the DuiK limb structures should go.