Hi,
I’m trying to add brace layers through scripting in Glyphs 3, something which was pretty straight forward in Glyphs 2. I can add the layers, but something appears to be missing to get Glyphs to accept the coordinates using code like this:
newLayer = GSLayer()
Font.glyphs['A'].layers.append(newLayer)
newLayer.setAttribute_forKey_({newLayer.layerId:60}, 'coordinates')
Using an NSDict gives the same result. And also trying to change coordinates for existing brace layers using setAttribute_forKey_()
.
Any pointers would be appreciated.
Erik