TEXTALIGN behavior

TEXTALIGN behavior

Anonymous
Not applicable
3,727 Views
9 Replies
Message 1 of 10

TEXTALIGN behavior

Anonymous
Not applicable

I have a drawing list on a title sheet. I want to expand the spacing between each row to fill the page a little more. I tried using TEXTALIGN with the Distribute option, and then separately the Set Spacing option. However, the Y-distance between each piece of text is slightly different. Additionally, the x position of each piece of text is also slightly different. I suspect it's aligning the text based on the shape file instead of insert point. I need it to align the insert points, because eventually the text will change. 

 

I can start over with MTEXT and then explode it, or I could array a single text object and edit each line, but I run into this task a lot and want to find an easy way to evenly distribute text. 

0 Likes
Accepted solutions (2)
3,728 Views
9 Replies
Replies (9)
Message 2 of 10

beyoungjr
Advisor
Advisor

Post a subject dwg and we can have a look and make a recommendation.

Blaine

 


Blaine Young
Senior Engineering Technician, US Army

0 Likes
Message 3 of 10

Alfred.NESWADBA
Consultant
Consultant

Hi,

 

command _TEXTALIGN and option SET SPACING as far as I undertand the question.

 

- alfred -

------------------------------------------------------------------------------------
Alfred NESWADBA
ISH-Solutions GmbH / Ingenieur Studio HOLLAUS
www.ish-solutions.at ... blog.ish-solutions.at ... LinkedIn ... CDay 2026
------------------------------------------------------------------------------------

(not an Autodesk consultant)
0 Likes
Message 4 of 10

Anonymous
Not applicable

Please see attached dwg. 

0 Likes
Message 5 of 10

beyoungjr
Advisor
Advisor

Have you looked at the Paragraph settings (line spacing) in the MTEXT editor?  This works like MS Word.

In my view a single MTEXT object with the drawing list would be more friendly to edit than individual text objects. 

 

Also, using a block for this list would permit you to assign attributes that could be filled for each use.  A table would be more than I would use.

 

I'd still prefer MTEXT for this particular task but my Title Blocks are always block objects with attributes.

 

Hope this helps a little.

Blaine

 


Blaine Young
Senior Engineering Technician, US Army

0 Likes
Message 6 of 10

Kent1Cooper
Consultant
Consultant
Accepted solution

@Anonymous wrote:

.... I tried using TEXTALIGN with the Distribute option, and then separately the Set Spacing option. However, the Y-distance between each piece of text is slightly different. Additionally, the x position of each piece of text is also slightly different. .... 


 

Yes, I think it's a function of certain fonts, defined with tiny offsets to the right from the "nominal" left-side-of-baseline insertion point of each character to the actual  left edge of the character itself, and the fact that the lines start with different characters [note that the two starting with E have the same variance in the X coordinate].  The amount of mini-offset varies with each character -- I assume it's about a cursory kind of "kerning" for better spacing relationships between characters.

 

The same happens if you use TXT2MTXT and Explode it -- maybe TEXTALIGN actually operates that way in the background.

 

A workaround:  Change the font assigned to the text Style of the objects to something raw and basic such as SIMPLEX.shx or TXT.shx, in which the left edge of each character is truly on its insertion point, without those mini-offsets rightward.  Then use TXT2MTXT on them, and within the resulting Mtext object, set the line space style to Exactly to get the Y coordinates equally spaced, and set the line spacing to what you want.  EXPLODE that Mtext object, and the X coordinate of the insertion points of the resulting Text objects will all be the same.  Then change the font assigned to the Style back to what it was.

Kent Cooper, AIA
0 Likes
Message 7 of 10

Anonymous
Not applicable

Thank you! Dealing with txt.shx is so much simpler.  1" height is exactly 1" from the highest point of a character to the lowest. Wonderful.

0 Likes
Message 8 of 10

Anonymous
Not applicable

@beyoungjr wrote:

 

 

I'd still prefer MTEXT for this particular task but my Title Blocks are always block objects with attributes.

 


I considered that, but sometimes parentheses or other characters bump the baseline a bit and it would throw off the whole list below. 

0 Likes
Message 9 of 10

Kent1Cooper
Consultant
Consultant
Accepted solution

@Anonymous wrote: 

.... sometimes parentheses or other characters bump the baseline a bit and it would throw off the whole list below. 


 

Not if you have the line space style set to Exactly.

Kent Cooper, AIA
Message 10 of 10

Anonymous
Not applicable

Wow this is a game changer. I run into this problem elsewhere a lot. I've spent so much time googling for a solution and failing. Can't believe it was just a property the whole time. Thanks!

0 Likes