-
Help please. Property Group Hierarchy.
Hi
I have a shape layer (named shape ) with 3 groups in it, named 1,2,3 respectively.
Each group has 3 shapes ( not a puzzle I swear :p) named 1st, 2nd and 3rd, nested in a group ( named Group 1).
I am trying to access the name of the shape layers (1, 2, 3) in their properties.
Am I right in assuming the way propertyGroup behaves? (See picture uploaded)
var groupIndex = thisProperty.propertyGroup(4).propertyIndex;
var groupName = thisLayer(“Contents”)(groupIndex).name;
Is it going 4 levels up to get the hierarchy ?
In the image I am trying to access the name of the shape layer in the anchor point property.
Not sure what is the theory here.
But is the hierarchy working in this way? :
*shape
-3
-3rd
-Group1
-Transform : Group 1
-Anchor Point