control codes and special characters reference in autocad
DESCRIPTION
Control Codes and Special Characters Reference in AutoCADTRANSCRIPT
Control Codes and Special Characters ReferenceJun 25 2015|In-Product View
Applies to AutoCAD 2016, AutoCAD Architecture 2016, AutoCAD Civil 3D 2016, AutoCAD Electrical 2016, AutoCAD MEP 2016, AutoCAD Map 3D 2016, AutoCAD Mechanical 2016, AutoCAD P&ID 2016, AutoCAD Plant 3D 2016, AutoCAD Structural Detailing 2016, and AutoCAD Utility Design 2016Like(0)Login to like this ArticleShareYou can overscore text, underscore text, or insert a special character by including control information in the text string.Use two percent signs (%%) to introduce each control sequence.You can use this control code with standard AutoCAD text fonts (SHX) and Adobe PostScript fonts.List of Control CodesThe following control codes are available.%%nnnDraws character numbernnn.%%oToggles overscoring on and off.
%%uToggles underscoring on and off.
%%dDraws degrees symbol ().
%%pDraws plus/minus tolerance symbol ().
%%cDraws circle diameter dimensioning symbol ().
%%%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 %%nnncontrol sequence to display special characters using the PostScript fonts.A sample drawing(truetype.dwg)showing the character map for each font is provided in thesamplefolder.The Euro SymbolYou can use the euro symbol with SHX fonts and their TrueType equivalent fonts shipped with AutoCAD 2000 and later releases. If your keyboard does not contain a euro symbol, hold down the Alt key and enter0128on the numeric keypad.Related Concepts Use Unicode Characters, Control Codes, and Special Characters (.NET)Related Reference TEXT (Command)
Applies to AutoCAD 2015, AutoCAD Architecture 2015, AutoCAD Civil 3D 2015, AutoCAD Electrical 2015, AutoCAD MEP 2015, AutoCAD Map 3D 2015, AutoCAD Mechanical 2015, AutoCAD P&ID 2015, AutoCAD Plant 3D 2015, AutoCAD Structural Detailing 2015, and AutoCAD Utility Design 2015Like(2)Login to like this ArticleShareYou can include special characters and symbols by entering a control code or a Unicode string.With the In-Place Text Editor, you can right-click and click Symbol on the shortcut menu.Note:Symbols are not supported in vertical text.Unicode strings and control codes
Control CodesUnicode StringsResult
%%dU+00B0Degree symbol ()
%%pU+00B1Tolerance symbol ()
%%cU+2205Diameter symbol ()
To insert the following text symbols, click Symbol on the expanded Text Formatting toolbar or enter the appropriate Unicode string:Text symbols and Unicode strings
NameSymbolUnicode String
Almost equalU+2248
AngleU+2220
Boundary lineU+E100
CenterlineU+2104
DeltaU+0394
Electrical phaseU+0278
Flow lineU+E101
IdentityU+2261
Initial lengthU+E200
Monument lineU+E102
Not equalU+2260
OhmU+2126
OmegaU+03A9
Plate/property lineU+214A
Subscript 2U+2082
SquaredU+00B2
CubedU+00B3
These text symbols are available in the following True Type (TTF) and SHX fonts: Simplex* Romans* gdt* amgdt* Isocp Isocp2 Isocp3 Isoct Isoct2 Isoct3 Isocpeur (TTF only)* Isocpeur italic (TTF only) Isocteur (TTF only) Isocteur italic (TTF only)* These fonts also include the Initial Length symbol used for arc length dimensions.