It looks like it’s impossible to use font as an input parameter for GH Style at the moment, isn’t it?
Hi @archist97 that’s not possible right now. When you create a GH style out of it, it takes the Font from the assigned Dimension style (Rhino’s Annotation style).
We will improve this in future versions.
Hi @archist97, we have implemented a solution for controlling the text attributes in gh styles. It’s available in the last VA3 Beta 8 version.
The VA object created as a GH style identifies now the Font assigned in the GH file. In addition, you can edit that attribute to the object if you set the following syntax as the name of the Font component in GH: %<component.fontFamily>%
Similar syntax can be used to control other attributes of that text. For example, use the %<component.textHeight>% as the name on a Number Slider parameter to control the text size, or the %<component.textAlignment>% for the text alignment.
Once the object style is created, you can change those attributes to the object directly: