you’re not actually parenting, you are simply linking the property of one layer to the property of another layer with an expression. in this case you are linking the scale property, and scale is relative to the individual layer’s anchor point.
as Daniel points out, shape layers complicate thing a bit, since they have multiple scale and anchor point properties and also a size property that is much like scale… you can even have multiple shape on the same layer. all of this makes it hard to trouble shoot what is happening in your comp.
in your original post, you mentioned that you were using shape layers so you could keep the stroke thickness the same when you scaled the layer. you could do that with an expression on a solid if that makes the rest of your set up easier….
example:
- add a new solid, make it 500×500.
- double click the mask tool to add a mask that is the same size as the solid
- add the stroke effect and set the bush size to 10
- option-click or alt-click the brush size property and copy/paste this into the expression field: value * 100 / scale[0]
now if you scale the solid, the stroke will remain constant. one caveat is if the scale is zero, it will kick up an error since you can’t divide a number by zero.
on other potential issue, the expression only looks at the x-scale, so if you are scaling x and y separately, it may not work for you….
Kevin Camp
Art Director
KCPQ, KZJO & KRCW