Path > Transformations, apply to all layers?

Is there an easy way to apply a transformation to all layers in the selected glyph(s)? I thought there used to be a way to do this without writing a script.

There is currently no way to do that.

It would be very useful since the API makes it hard to write quick scripts for transformations.

This doesn’t look too terrible:

from AppKit import NSAffineTransform
offsetX = 0
offsetY = 60
transform = NSAffineTransform.new()
transform.translateXBy_yBy_(offsetX, offsetY)
selection = Font.selectedLayers
for selectedLayer in selection:
	for layer in selectedLayer.parent.layers:
		layer.transform(transform)