Undusting this for something maybe related: Is it possible to access the Generate Instances via scripting? I am not seeking the instance method from the documentation here, but rather the ability to actually get the files ready for saving, with all the color labels etc. Basically exactly as the File > Generate Instances behaves.
BTW: is it on purpose, that a generated instance might end up with a different Master (weight) name than its original Instance (weight) name was? In particular I got a Font:
2 Masters (Regular , Bold )
2 Instances, same Names, same weight values, same weight declaration
When I generate the Instances, the new files end up like this:
One got Bold in Master and its Instance like expected, but the other one has now »Light« as its Master name, while its Instance is still »Regular« etc.
I assume the weight value might cause this? Anyway I am not sure if this should happen.