app.project.item(index).layer(index).propertySpec.name
Description
The display name of the property. (Compare PropertyBase matchName attribute” .)
It is an error to set the name value if the property is not a child of an indexed group (that is, a property group
that has the type PropertyType.INDEXED_GROUP; see “PropertyBase propertyType attribute”).
Type
String; read/write for a child of an indexed group; otherwise read-only.