@zph wrote:
.... Assoc 10, the insertion point on a text entity, changes based upon text length (the actual length...not character length). Assoc 11, the corresponding justification point, stays the same regardless of text length.
....
It's actually a little more convoluted than that. Assoc 10 is always the left end of the baseline of the Text object. If it's ordinary Left-justified, that is also the insertion point [to which Osnap INS will snap], and Assoc 11 is always 0,0,0, regardless of position in the drawing, so using the 11 value can lead you astray. If the justification is anything other than Left, Assoc 10 is still the left end of the baseline, and Assoc 11 is the insertion point.
So to be sure you get what you want, no matter what the Text's justification, you might want to extract insertion points with a test -- if both Assoc 72 and Assoc 73 values are 0, it's Left-justified, and its insertion point is Assoc 10, but if either of those is not zero [except see the next paragraph], it's some other justification and its insertion point is Assoc 11.
BUT it's even more complicated if you ever use Fit or Aligned justifications. 10 is the left end of the baseline, 11 the right end, and you would need to choose one, or maybe use the point halfway in between. For Fit, the Assoc 72 value is 5 and 73 is 0; for Aligned, 72 is 3 and 73 is 0. You could also check justification via VLA properties instead of with a check on two different Assoc values.
Kent Cooper, AIA