Special Character Codes for Text

by Donnie Gladfelter on June 12, 2006

in AutoCAD,AutoCAD 2006,AutoCAD 2007,AutoCAD 2008

These codes stem back to the “Old School” days of AutoCAD in DOS, but are each still useful today. All of these codes still work with DTEXT using the standard AutoCAD fonts. Likewise, all but the %%u and %%o codes work with the newer MTEXT.

%%d = degree
%%c = circle diameter
%%p = plus/minus tolerance
%%u = begin underline of text. Repeat to end underline.
%%o = begin overline of text. Repeat to end.

  • Casey

    need a code that shows a centerline symbol for single line text? we dont use MTEXT that much 

  • Siraj_try47

    how can divide the circle in to 12 segment

    • http://thecadgeek.com/ Donnie Gladfelter

      Give the MEASURE and/or DIVIDE commands a try.

  • ANTHONY

    thank you Joanne

  • ANTHONY

    thank you Joanne

  • ANTHONY

    DOES ANYONE KNOW THE CODE FOR AN OHM SYMBOL?

    • Joanne

      the text string is

      Ohm = \U+2126

  • ANTHONY

    DOES ANYONE KNOW THE CODE FOR AN OHM SYMBOL?

    • Joanne

      the text string is

      Ohm = U+2126

  • http://www.2buyitnow.com tommy

    Found it. Thanks!

  • http://www.2buyitnow.com/ tommy

    Found it. Thanks!

  • http://www.2buyitnow.com tommy

    Donnie,
    Wasn’t there one for the Center Line symbol as well?

    Tommy

    • http://www.thecadgeek.com Donnie Gladfelter

      Tommy – You might be thinking of the MTEXT editor. There you can find a long list of symbols, including one for center line.

      • Scott Beattie

        I have used the special charater codes many times. The issue I run into with Mtext, is that when I add the center line symbol, it does not appear as the same font style and scale. I have to highlight the center line symbol and scale it up to match the height of font style all ready in uses. I can live with that. It really becomes a problem when I need the center line symbol in a civil 3D object. I can add the center line symbol with the text, but I can not scale the center line symbol to match the height of the text all ready in uses. It would be nice if the symbol would just match the font style being used. Do you have any suggestions?

  • http://www.2buyitnow.com/ tommy

    Donnie,
    Wasn’t there one for the Center Line symbol as well?

    Tommy

    • http://thecadgeek.com/ Donnie Gladfelter

      Tommy – You might be thinking of the MTEXT editor. There you can find a long list of symbols, including one for center line.

      • Scott Beattie

        I have used the special charater codes many times. The issue I run into with Mtext, is that when I add the center line symbol, it does not appear as the same font style and scale. I have to highlight the center line symbol and scale it up to match the height of font style all ready in uses. I can live with that. It really becomes a problem when I need the center line symbol in a civil 3D object. I can add the center line symbol with the text, but I can not scale the center line symbol to match the height of the text all ready in uses. It would be nice if the symbol would just match the font style being used. Do you have any suggestions?

Previous post:

Next post: