app.project.item(index).layer(index).propertySpec.propertyGroup()
app.project.item(index).layer(index).propertySpec.propertyGroup(countUp)
Description
Gets the PropertyGroup object for an ancestor group of this property at a specified level of the parent-child hierarchy.
Parameters
countUp Optional. The number of levels to ascend within the parent-child hierarchy. An integer in the range [1..propertyDepth]. Default is 1, which gets the immediate parent.
Returns
PropertyGroup object, or null if the count reaches the containing layer.