Anchor.move((x,y)) as attribute and not method



  • trying to move an anchor:

    g = CurrentGlyph()
    
    for anchor in g.anchors:
        anchor.move((0, -20))
        
    g.update()
    

    I got this traceback:

    Traceback (most recent call last):
      File "testscript.py", line 4, in 
    AttributeError: 'RobofabWrapperAnchor' object has no attribute 'move'
    

    The same happens with other anchor methods.
    any solution?

    Thanks, jca


  • admin

    ah, Ive added this to the todo list :)



  • I think this has been fixed in the update now, works here :)