Rotate around anchor

The “rotate around anchor” script that Mekkablue has kindly provided used to work perfectly but now the window no longer appears… Any idea how I can get it back? :+1:

What error message do you get in the Macro window?

No error message, just the window that has the rotate option doesn’t appear. I click the menu item and nothing happens.

Did you check the Macro panel? Window > Macro Panel

Run the script, open the Macro panel and check for error messages in the console.

Ah thanks:

Traceback (most recent call last):
  File "Rotate around anchor.py", line 8
    import vanilla, math
  File "__init__.py", line 6
    from vanilla.vanillaColorWell import ColorWell
  File "vanillaColorWell.py", line 5
    from AppKit import NSColorWellStyleDefault, NSColorWellStyleMinimal, NSColorWellStyleExpanded
ImportError: cannot import name 'NSColorWellStyleDefault' from 'AppKit._AppKit' (/Library/Application Support/Glyphs 3/Repositories/GlyphsPythonPlugin/Python.framework/Versions/3.9/lib/python3.9/site-packages/AppKit/_AppKit.cpython-39-darwin.so)

Please remove and re-install the vanilla module from the Plugin Manager.

1 Like