Re-interpolate Metrics with script

Hey,

is there already a script, that “re-interpolates Metrics” of all brace layers at once?
I guess it might be written within two minutes, but I can’t script :see_no_evil:

Right now I am opening all glyphs with “New Tab with all Brace Layer” and select all brace layers manually to re-interpolate matrice. I think this could be perfectly done with a script within seconds instead of one hour.

Thanks and have a happy Sunday/Holiday!

In one hour you can learn basic scripting so far that you can build the loop. Read through the scripting tutorials, parts 1 and 2:
https://glyphsapp.com/tutorials/scripting-glyphs-part-1
https://glyphsapp.com/tutorials/scripting-glyphs-part-2

If the layer is a bracket or brace layer, its .isSpecialLayer attribute will be True. And then you can hang the .reinterpolateMetrics() method.