Вы находитесь на странице: 1из 9

14/2/13

AutoCAD Control Codes and Special Text Characters

CADD Manager Home>AutoCAD, Tips>Blog article:AutoCAD Control Codes and Special Text Characters Jul

13

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. menus.

Some may still use these “inline” tricks or you could use the

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.

14/2/13

AutoCAD Control Codes and Special Text Characters

%%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.

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

14/2/13

AutoCAD Control Codes and Special Text Characters

14/2/13 AutoCAD Control Codes and Special Text Characters Click on Other to get even more…

Click on Other to get even more…

14/2/13

AutoCAD Control Codes and Special Text Characters

14/2/13 AutoCAD Control Codes and Special Text Characters You might also like: AutoCAD 2010 – Hidden

You might also like:

Codes and Special Text Characters You might also like: AutoCAD 2010 – Hidden Ribbon Trick AutoCAD
You might also like: AutoCAD 2010 – Hidden Ribbon Trick AutoCAD 2010 – Pin to Start
2010 – Hidden Ribbon Trick AutoCAD 2010 – Pin to Start AutoCAD 2010 – Hover “crafts”

If you enjoyed this post, make sure you subscribe to my RSS feed!

Print The Above Post Subscribe to RSS feed Print The Above Post Subscribe to RSS feed

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

1.

1.

fatcadjobs

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.

2.

Katie

14/2/13

AutoCAD Control Codes and Special Text Characters

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.

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.

4.

Katie

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.

5.

PJ

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.

6.

james

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

7.

7.

rosalinda

14/2/13

8.

<3

14/2/13 8. <3 mehdi June 29th, 2012 at 2:23 AM thanks a lot Leave a Reply

mehdi

thanks a lot

Leave a Reply

mehdi June 29th, 2012 at 2:23 AM thanks a lot Leave a Reply Name (required) Email
mehdi June 29th, 2012 at 2:23 AM thanks a lot Leave a Reply Name (required) Email
mehdi June 29th, 2012 at 2:23 AM thanks a lot Leave a Reply Name (required) Email

Name (required)

Email (required)

Website

AutoCAD Control Codes and Special Text Characters

Website AutoCAD Control Codes and Special Text Characters Submit Comment Polls When was the last time
Submit Comment
Submit Comment

Polls

When was the last time you drafted by hand? (contract deliverable documents)

Too long to remember (48%, 102 Votes)

documents) Too long to remember (48%, 102 Votes) I have never drafted by hand (17%, 37

I have never drafted by hand (17%, 37 Votes)

102 Votes) I have never drafted by hand (17%, 37 Votes) More than a year ago

More than a year ago (15%, 31 Votes)

hand (17%, 37 Votes) More than a year ago (15%, 31 Votes) I still draft by

I still draft by hand all the time (13%, 27 Votes)

Votes) I still draft by hand all the time (13%, 27 Votes) Last Month (3%, 7

Last Month (3%, 7 Votes)

hand all the time (13%, 27 Votes) Last Month (3%, 7 Votes) More than two months

More than two months ago (3%, 6 Votes)

Month (3%, 7 Votes) More than two months ago (3%, 6 Votes) More than 6 months

More than 6 months ago (1%, 3 Votes)

Polls Archive
Polls Archive

BIM Manager Site

Total Voters: 213

14/2/13

Check out the BIM Manager Blog

Buy the Book

Series

AutoCAD Control Codes and Special Text Characters

AU2012 (3) AU2012 (3)

Archives

Select Month
Select Month

Category Cloud

Recent Posts

Search for:

Search
Search

14/2/13

AutoCAD Control Codes and Special Text Characters

Subscribe to the Monthly Journal

Job Openings

Check out our listing of Jobs that might interest you as CAD Manager Job Openings

Subscribe to the Blog

you as CAD Manager Job Openings Subscribe to the Blog Subscribe in a reader See more

See more on Twitter

Follow me on Twitter

in a reader See more on Twitter Follow me on Twitter Twitter Posts No public Twitter
in a reader See more on Twitter Follow me on Twitter Twitter Posts No public Twitter
in a reader See more on Twitter Follow me on Twitter Twitter Posts No public Twitter

No public Twitter messages.See more on Twitter Follow me on Twitter Twitter Posts Recent Comments CADDManager on AutoCAD 2012

me on Twitter Twitter Posts No public Twitter messages. Recent Comments CADDManager on AutoCAD 2012 System

Recent Comments

Archives

2012 (35) 2012 (35)

2011 (75) 2011 (75)

► 2011 (75) ► 2010 (102) ► 2009 (162) ► 2008 (166)