Export MM Pair List



  • Hello,

    this might be a ridiculous question and the answer couldn’t be easier but:

    Is there a way to export the current pair list from MetricsMachine so that I can import it into another UFO?


  • admin

    please check the 'Help' of MetricsMachine :)

    MetricsMachine has a scripting layer where you can write your own tools on top of MetricsMachine!

    enjoy

    import metricsMachine
    
    pairList = metricsMachine.GetPairList(font=CurrentFont())
    
    metricsMachine.SetPairList(pairs, otherFont)
    

    a06d7df3-397a-4b75-b9ce-2b1b48bb611e-image.png



  • Ah yes, I was sure something like that needs to be somewhere, sadly when I click on Help in top menu I don’t get this window. In fact nothing happens and there is also nothing in the output window 😬

    But your snippet should work, I’ll try it next time

    Thanks a lot :)


  • admin

    mmm, you have the latest version of MM (update it through Mechanic)



  • The snippet works perfect! Thanks a lot!

    The help window still doesn't appear (I reinstalled MM recently, and Mechanic confirmed it’s the most recent version)


Log in to reply