The value is unitless (but internally that means mm). So this will work:
Code: Select all
-.Shape.BoundBox.XLength / 2 + 10
The value is unitless (but internally that means mm). So this will work:
Code: Select all
-.Shape.BoundBox.XLength / 2 + 10
To combine unitless values with lengths you have either to add a unit, e.g. by multiplying the unitless value with "1mm" or remove it by dividing the unit value by "1mm".
For the vertical alignment it would be good to have access to the baseline of the font. An option to use the baseline as zero for the y coordinate seems overkill though, because we don't see too many requests which would need it.Workshop_Notes wrote: ↑Mon May 29, 2023 5:18 pm This makes it challenging to do any vertical alignment.
In normal typography, I think 'baseline' refers to the feint line on a piece of lined paper if you were handwriting. Some letters (those with decenders) project below the baseline. In FC, no letters project below the baseline. If you write 'yg' in a shapestring, the baseline is the lowest point of the tail of the 'y'. If you write 'ac', the baseline is the lowest point of these two letters. If you have two strings, 'yg' and 'bd', I think the boundbox height would be the same for a given font and size but it would be tricky to put them side by side and make them read nicely.