New brace layers

Hi Rainer,
thanks for the brace trick tutorial – great news!
Is there any way to create and re-interpolate them by script?
Like …

intermediates = [‘a’, ‘b’, ‘c’]
for i in len(intermediates):
f.glyphs[i].createLayer(‘intermediateLayer’)
f.glyphs[i].intermediateLayer.re_interpolate

Thanks!
Christoph

Almost:

Traceback (most recent call last):
File “”, line 14, in
AttributeError: ‘GSGlyph’ object has no attribute ‘replaceLayerWithInterpolation_’

Version 2.0.0 (648)

Update to the latest beta please. I can confirm that thisGlyph.replaceLayerWithInterpolation_(thisLayer) works in Version 2.0.0 (653).

Ah, forgot to activate betas in the prefs.
Now it works, but when I go to the layer, Glyphs crashes.