Skip to content

Instantly share code, notes, and snippets.

@marcdama
Created June 2, 2015 15:10
Show Gist options
  • Save marcdama/463e8185828ff57ee00a to your computer and use it in GitHub Desktop.
Save marcdama/463e8185828ff57ee00a to your computer and use it in GitHub Desktop.
FL: Selection: move specific anchor by a set amount
from robofab.world import *
f = CurrentFont()
anc_name = '_htop'
amount = 10
for i in f.selection:
for j in f[i].anchors:
if anc_name in j.name:
j.y += amount
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment