SOLVED get nspath representation
-
I can't find this in the docs. What is the key for NSpath representation of the glyph?
g = CurrentGlyph() g.getRepresentation("NSpath")
-
hello @bahman,
representations are handled by
defcon
, the docs are here.glyph = CurrentGlyph() path = glyph.naked().getRepresentation("defconAppKit.NSBezierPath")
cheers!
-
I found them using this:
g = CurrentGlyph() print("\n".join(g.naked().representationFactories.keys()))