Yorlmar
(Yorlmar Campos)
November 11, 2015, 10:47am
1
Hi everybody!
Create Center Guideline and Guideline through Selected Nodes from Mekkablue’s Guidelines plugins is not working.
Anyone with the same issue or have found a solution to this bug?
Running on Glyphs 2.2.2 (823) and OS X El Capitan (10.11.1)
Thanks in advance!
Yorlmar
(Yorlmar Campos)
November 11, 2015, 1:34pm
2
I found the answer: I have an older version of script.
Solution:
#MenuTitle: Create Center Guideline
# -*- coding: utf-8 -*-
__doc__="""
Creates a guideline, horizontally or vertically centered between two selected nodes.
"""
Font = Glyphs.font
FontMaster = Font.selectedFontMaster
selectedLayers = Font.selectedLayers
selectedLayer = selectedLayers[0]
try:
# until v2.1:
selection = selectedLayer.selection()
except:
# since v2.2:
selection = selectedLayer.selection
This file has been truncated. show original
Works perfectly!
mekkablue
(Rainer Erich Scheichelbauer)
November 15, 2015, 12:29am
3
That script is not necessary anymore, because the app supports it out of the box now. Select two nodes, right click, Add Guideline , done.
For the other scripts, make sure you have the latest versions.
Yorlmar
(Yorlmar Campos)
November 24, 2015, 1:38am
4
Better than before! many thanks!