Thats good. Didnt know that was possible either. Thought I had even tried and failed at some point.airsoftsoftwair wrote: ↑Sat Sep 28, 2024 10:41 pmActually, you can It is possible to add and subtract values to those special constants in order to do some fine-tuning. It's documented here. Of course there are some limits, I think the maximum that can added or subtracted is 5000 pixels or so because then the range of the next special constant is hit But adding/subtracting a few pixels is definitely possible and quite a handy feature IMHO which is why it has been supported for a long time.
But so anyway, the wishlist that I had was that in case I want to use one specific things #CENTER value as the base point for the rest, there would need to then be a way to get the result of the #CENTER value.
With layers on I think it is doable with GetAttribute, but without Layers on, I guess only way to get it is through TextObject, as JPV suggested, but that doesn't always solve the problem.
To give new example of the problem I am wishlisting for:
Code: Select all
Box(#CENTER, #CENTER, 1000, 1000)
DisplayBrush(1, BoxCenterX + 20, BOxCenterY + 20)
DisplayBrush(2, BoxCenterX + 20, BoxCenterY + 70)
DisplayBrush(3, BoxCenterX + 20, BoxCenterY + 120)
But having a way to get the Box-commands #CENTER value stored to BoxCenterX and BoxCenterY, would give me a possibility to do it like the example code.