Hey all,
I scratched my head over this for quite some time until I finally figured out what is happening.
Not sure if that should be called a bug, but to me it appears as non-intuitive behavior at least.
The issue is following:
When text entity is created and for further operations with it we need to extract some of its properties (what I call “deconstruction”), then the properties coming from Text settings (Te) are always when the annotation style settings were not overridden.
Example down below - I create entity using predefined annotation style with text height 3. When I deconstruct the text entity, I would expect that the Th value is 3, but it is . However, when I override Th setting when the entity is being created, deconstructed Th value corresponds to the override. It’s the same situation with vertical/horizontal alignment (Va/Ha) for example.
Not sure if this behaviour is intended, I would expect Text settings (Te) to always expose actual settings of the text, no matter where they came from (override or annotation style).
In current situation, if I want to make my script snippet universal, I would have to combine extracted values for all properties from Annotation style and Text settings to ensure I always get value, because using Text settings only I risk getting nulls once the Text settings remain at default values.
Hey Martin,
that probably means that this is Rhino 8 issue only. I copied your setup reading the height from Annotation style and still same issue. So the solution will be to upgrade to Rhino 9?
That is unfortunate (for us). We probably won’t be able to upgrade anytime soon. At least we now know that the issue is fixed for the future, thank you for that information It is not a huge issue, I am just loosing some time doing seemingly pointless comparisons, but yea, we can deal with it
Do you think there is any chance that this might be fixed in any of the upcoming service releases of Rhino 8 or all the efforts are now focused on Rhino 9? I am not aware what the situation with R8 maintenance is.