I’m working on converting a script to Glyphs 3. One of the actions it performs is creating new bracket layers. It seems that since G3 they are recognised by the isSpecialLayer attribute. That attribute appears to be read-only. Is there a particular reason for it? Is it possible to create a bracket layer via script in G3?
Thank you both! @GeorgSeifert I was able to set isSpecialLayer to True via layer.attributes. However the layer still is not recognised by Glyphs as bracket (alternate) layer. I think the name syntax [600<wg] is right. Perhaps there is a dedicated method for that, an equivalent of right clicking the layer and setting type to Alternate?