VikER
(Viktor Rubenko)
1
Version 2.6.7 (1356)
component.automaticAlignment returns True while it’s not and app shows False in UI too
print(g)
print(
g.layers[0].components,
[component.automaticAlignment for component in g.layers[0].components]
)
<GSGlyph "underscore" with 5 layers>
((<GSComponent "endash" x=-50.0 y=-430.0>), [True])
<GSGlyph "brevecomb_tildecomb.case" with 5 layers>
((<GSComponent "brevecomb_tildecomb" x=0.0 y=230.0>), [True])
Can you try component.doesAttach()
?
VikER
(Viktor Rubenko)
3
print(g)
print(
g.layers[0].components,
[component.doesAttach() for component in g.layers[0].components],
)
<GSGlyph "brevecomb_tildecomb.case" with 5 layers>
((<GSComponent "brevecomb_tildecomb" x=0.0 y=230.0>), [1])
Those snippets should help to figure it out:
print(component.doesAlign())
print(component.doesAttach())
component.makeDisableAlignment()
component.makeEnableAlignment()
component.makeForceAlignment()