CADDManager on July 13th, 2010

It use to be pretty tough to get special characters into your text in AutoCAD.  You had to use %% or other tricks to get it done.   Some may still use these “inline” tricks or you could use the menus.

Ever use Unicode – I have not… but…

When entering text, you can create special characters, including the degree symbol, plus/minus tolerance symbol, and the diameter symbol, by entering the following Unicode character strings:

\U+00B0 = Degrees symbol (°)

\U+00B1 = Tolerance symbol (±)

\U+2205 = Diameter symbol

Better yet – Use %% – this is a more standard way of enter special characters

In addition to using Unicode characters for entering special characters, you can also overscore text, underscore text, or insert a special character by including control information in the text string. Use a pair of percent signs to introduce each control sequence.

You can use this control code with standard AutoCAD text fonts and Adobe PostScript fonts:

%%nnn – Draws character number nnn.

NOTE: You can use these control codes with standard AutoCAD text fonts only:

%%o – Toggles overscoring on and off.

%%u – Toggles underscoring on and off.

%%d – Draws degrees symbol (°).

%%p – Draws plus/minus tolerance symbol (±).

%%c – Draws circle diameter dimensioning symbol .

What if I want the % sign???

%%% – Draws a single percent sign (%). This is valid for the TEXT command only.

Overscoring and underscoring can be in effect at the same time. Both turn off automatically at the end of the text string.

You can use the %%nnn control sequence to display special characters using the PostScript fonts.

You can also get most of these off the MTEXT menu now.

Click on Other to get even more…

14 Responses to “AutoCAD Control Codes and Special Text Characters”

  1. You are very true. In addition to using Unicode characters for entering special characters, you can also overscore text, underscore text, or insert a special character by including control information in the text string. Use a pair of percent signs to introduce each control sequence. Great information!

    Cha

  2. We just recently started using these to put registered and trademark symbols in. Found the Alt+(number code) works the best for a consitant way of doing things between applications and conditions. Even works in an attribute dialog box that may not have access to symbols like in multi-line text. One downfall is that some characters do not show up depending on what type of font you are using.

  3. Katie,

    Good point on making sure that the special characters print. Also – check your PDF files. I have seen some drop off in PDF’s also.

    Mark

  4. Yes we have seen this too. Our pdf’s will show up with dots by the text that uses these when created through ACAD. I have narrowed it down to the text width. If you make a pdf with say a tahoma font and text width of 1.0, using the dwg to pdf.pc3 will result in dots in the area of the text that is using the symbol. Change the text width to .999 or smaller and it will show up. So far with testing I have had it work. I have only tested Tahoma font with this though. With the dots, the preview will show up like it will print. But going back and opening your PDF will result in dots.

  5. I would just like to thank you for helping with the PDF-dot issue. I do almost all of my plotting to PDF, and typically use the percent sign, plus/minus, etc. and have never figured out how to get around the dots. Why isn’t this something AutoCAD and Adobe get corrected?

    PS-I use Arial font and the text width works.

  6. what about the codes for fractions? What are they and where can I locate them?
    thanks

  7. <3

  8. thanks a lot

  9. That is all very helpful, but how do you get the counter bore symbol. in other programs it is %%w but it is not working.

  10. If you want a % symbol, simply type the % symbol. Don’t type %%%.
    %%w is not a functional code in AutoCAD.

  11. Good job…
    will try everything now
    God bless

  12. Recently I have noticed an issue with AutoCAD 2013 Education Version. The problem is with special characters used in notes used with leaders. I can create the special characters with the Character Map but I can not copy. The Character Map dialog box is supposed to disappear from the screen with you select the copy box. I have tried to copy and paste them to the Symbols “add a symbol” but it doesn’t show up.

    These are the special characters I wish to use:

    %%v for counterbore or spot face %%x for depth of cut

    Could this version of AutoCAD have some issues that can be addressed with a service pack?

    THANKS!

  13. I want the list of Mtext codes for AutoCAD 2011 So that I can Determine the value/phrase used in my drawings.

  14. In AutoCAD 2020, in the Attribute manager, and also in Custom Drawing Properties these symbols do not insert by using the Unicode characters or the AutoCAD %% keyboard entry method. I ended up creating a custom drawing property for these symbols, one at a time. In the custom drawing property value, I copied the text character from the font set for my text style (Arial) out of a Word document, and pasted the character in the property value. These Custom Drawing Properties are saved in my template.

    Now whenever I need it, I just insert a “field” and use the custom drawing property named for that symbol. This works for those hard to edit text areas.

Leave a Reply