To Georg,
Sorry NDA
The Crash happens even if I try to export a new design or a single letterform.
Regards
To Georg,
Sorry NDA
The Crash happens even if I try to export a new design or a single letterform.
Regards
Hey Georg, I pasted this into the Macro Panel and pressed Run. I’m running Glyphs Version 2.4RC (936). It returns:
Traceback (most recent call last):
File "<string>", line 1, in <module>
AttributeError: 'NSKVONotifying_GSLayer' object has no attribute 'backgoundImage'
Am I doing it wrong? Thanks!
there was a typo in the original post (I fixed it).
Layer.backgroundImage.alpha = 30
Works now – and this is such a handy script.
Thanks Georg!
Hi @GeorgSeifert,
Bumping this one back up six years later. After updating to Glyphs 3, I’ve been receiving the following error when adding transparency to background reference images:
NameError: name ‘Layer’ is not defined
I don’t believe I’ve done anything differently than always—drop a .jpg in and try to run the following macro:
Layer.backgroundImage.alpha = 30
Any thoughts on what I might be doing wrong here? Thanks for taking a look!
The code works for me. Are you currently working on a glyph. If no glyph is selected, the Layer
variable will be undefined.