I have a few dozen glyphs that I want to batch modify the vertical height of, but I haven’t found a script that isn’t restricted to either component or anchors.
One that either only moved component paths, or all three types would be the most ideal solution.
you could apply a transformation to the whole layer
glyph_names = ["A","B"]
move_x = 10
move_y = -20
for glyph_name in glyph_names:
for layer in Font.glyphs[glyph_name].layers:
if layer.isMasterLayer or layer.isSpecialLayer:
layer.applyTransform((1,0,0,1,move_x,move_y))