smartComponentValues problems

I fixed it. For now, use this code to make the component:

layer = Glyphs.font.selectedLayers[0]
comp = GSComponent('_part.test')
layer.components.append(comp)
comp.setPieceValue_forKey_(50, 'Width')
comp.setPieceValue_forKey_(30, 'Height')
1 Like