smart-test.glyphs (19.4 KB)
import copy
smartGlyph = Glyphs.font.glyphs['_part.x101']
glyph = Glyphs.font.glyphs['test']
glyph.layers[0].components.append(smartGlyph.layers[0].components[0].copy())
AttributeError: ‘NoneType’ object has no attribute ‘copy’
_part.x101 is a smartcomponent glyph.
I don’s know why the script is error.
thanks.