The X Factor – Placing text above and below dimension lines

image Many veteran users already know this tip, as it has been around for a while now. Still, for the uninitiated figuring out how to get text both above and below a dimension line (without breaking the line) can quickly resemble one of those puzzles where you have to get a metal ring off an interwoven mess of bent metal. As you fumble with the metal ring, usually getting it more tangled than when you started, you think to yourself; I know there’s a simple solution, but I just can’t seem to figure it out.

So that everyone understands what I’m talking about here’s a pretty standard dimension line with the text positioned above the dimension line.

Dimension above line

 

Let’s say I wanted to make this a typical dimension, but since the dimension is above the dimension line, I wanted my “TYP” text to display below the dimension line. Using the DDEDIT command, you can graphically select the dimension line, and press Enter to start another line of text. The result is something like the image below, where both dimension and TYP text display above the line.

Dimension with two lines of text above dimension line.The secret solution to this little puzzle is to enter \X instead of pressing the Enter button. Note the use of a capital X as a lowercase x will not work. After using this little code, your dimension line will look as you always intended it to; with the dimension above the line, and the TYP text below.

Dimension with text above and below dimension line 

Alternatively, this code also works if you would rather use the Properties or Quick Properties palette. Just insert the \X code where you would like the break to occur.

Quick properties paletteIt’s also worth mentioning the \P code. It works in the same way as the \X code; however it will place both pieces of text above the dimension line. This is almost the same as launching the DDEDIT command, and pressing Enter. The only real difference is you can enter the \P code into the Text Override field in the Properties or Quick Properties palette.

Donnie Gladfelter
Donnie Gladfelter

Donnie is author of the book and Autodesk Official Press, AutoCAD and AutoCAD LT: No Experience Required, a columnist for AUGIWorld Magazine, Autodesk University speaker, and former member of the AUGI Board of Directors.

12 Comments

  1. This is a great tip and I will certainly be using it. Is there a way to place this into the dimension style to make it default with every dimension?

  2. What do you do when you do three lines and the center line is across the dimension line? I've had cases where it does not do this, and times when it does in the same drawing???!!

    • Queenie, it sounds like you may need to adjust the vertical text placement property inside your dimension style. Changing it to "Center" should do what you describe. It's worth noting, the above method will not work if the vertical placement is set to center so you may need to create 2 dimension styles to make it all work.

  3. What do you do when you do three lines and the center line is across the dimension line? I've had cases where it does not do this, and times when it does in the same drawing???!!

    • Queenie, it sounds like you may need to adjust the vertical text placement property inside your dimension style. Changing it to "Center" should do what you describe. It's worth noting, the above method will not work if the vertical placement is set to center so you may need to create 2 dimension styles to make it all work.

Leave a Reply to Donnie GladfelterCancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Discover more from The CAD Geek

Subscribe now to keep reading and get access to the full archive.

Continue reading

Discover more from The CAD Geek

Subscribe now to keep reading and get access to the full archive.

Continue reading