How can I center object/text box with a previously created point?
João Pedro shared this question 2 years ago
How can I center object/text box or something similar making its center coincide with a previously created point?
(Usually, the objects are located in rectangular areas, so when I'm referring it's center, I'm talking about the middle point of it's diagonals or it's centroid)
Using the "Position" tab doesn't work for me since the vertex of the object coincides with the point selected (Not the center of center of the object).
A good example would be a text box with its center at the point (2,5).
I attached a file with a workaround I found:
But that's not quite useful since I'll be doing this with a list of texts. Does anybody know a solution to this situation?
Files: Object alignmen...
Properties > position:
Quote: "I'll be doing this with a list of texts"
With TableText() it is ensured that all elements of the list have the same size
(line1 with variable-length text in the middle plus line2 with (fix) 20 spaces).
In addition to the list, the object sampleText exists with the same size.
With sampleText a vector can be formed, which is used to move the list elements relative to the given points.
This syntax will work in the next release (v601)
Protractor with the new possibility of Text() version 601up
It's not robust and need the workaround script in l2 and autoUpd
My whole goal was to make a usable heading compass. I was able to do it.
Comments have been locked on this page!