finally, I tried do the script. I took your existing script “New Tab with Special Layers” and modified it, but it doesn’t work as expected. Basically, I just replaced the “newTab” function with “reinterpolateMetrics”.
Within the Makro Window, I get this error:
Traceback (most recent call last):
File "<macro>", line 19, in <module>
AttributeError: 'NSKVONotifying_GSFont' object has no attribute 'reinterpolateMetrics'
This is the script right now, I have no idea why the function doesn’t work.
#MenuTitle: Reinterpolate Brace Metrics
# -*- coding: utf-8 -*-
from __future__ import division, print_function, unicode_literals
Reinterpolates Metrcis of all special (bracket & brace) layers.
Glyphs.clearLog() # clears log of Macro window
thisFont = Glyphs.font # frontmost font
affectedLayers = 
for thisGlyph in thisFont.glyphs: # loop through all glyphs
for thisLayer in thisGlyph.layers: # loop through all layers
# collect affected layers:
# Reinterpolate Brace Metrics:
reinterpolateMetrics = thisFont.reinterpolateMetrics()
reinterpolateMetrics.layers = affectedLayers
# otherwise send a message:
title = "Nothing Found",
message = "Could not find any bracket or brace layers in the font.",
OKButton = None
Any help is really appreciate. My current typeface has to many Brace Layers to do it by hand…
Thanks a lot