How to move a path from one layer to another

How to move a path from one layer to another

Can you be more precise? What exactly do you want to happen?

You can use list method in python.

  • copy/move a path from layerA to layerB:
thePath = layerA.paths[0]
layerB.paths.append(thePath)

layerA.paths.pop(0)
  • copy/move all path from layerA to layerB:
import copy
layerB.paths = copy.copy(layerA.paths)

layerA.paths.clear()

Read more: Glyphs.app Python Scripting API Documentation — Glyphs.app Python Scripting API 3.0.4 documentation