Can’t set Variable Font Origin with a script

Hi! Trying to set Variable Font Origin parameter exactly the way the documentation suggests:

font.customParameters['Variable Font Origin'] = 'masterName’

But it gives “not set”. Seems like it finds the right name from the dropdown menu, but does’t apply it. Or is it not the right way to do it? Thanks!

You probably need to set the masterID instead of the name.

1 Like

It works, thanks!