-
Hidden Content groups inside a Shape Layer Hierarchy – can anyone explain why this happens?
Hello guys.
Here is my question. I’ve been playing with hierarchies inside shape layers for a while now, using expressions and all the commands to do so (propertyGroup, propertyIndex and so on). I am having an hard time understanding why I sometimes have to +1 the number I think I need when using propertyGroup(x) to get where I want. Please look at the attached example.
The expression I am using to get the position of Ellipse Path 1 from Ellipse Path 2 seems to work fine, given that I go up 2 levels and then I use myIndex – 1 to access the previous group. What I would expect when going up 2 levels using propertyIndex(2) is to be at the Ellipse 1 level, but the debug text layer that you can so on top of everything doesn’t agree (you can’t see the rendered output, you’ll have to trust me :P). It says that propertyIndex(2) gets me to an hidden group called “Contents”, while propertyIndex(3) gets me to Ellipse 1.
In this particular case it is not a big deal; the expression itself works fine. I’ve been using this a lot lately though and this behavior just freaks me out sometimes.
Does anyone know why this hidden group is there and why is it hidden?
Thanks a lot!
