Quick Access Search All Tools Ctrl+K Help & Tool Guide
AC AD
UTILITY REF
AutoCAD 2024

Scaling & Units
Reference Manual

40+
Pages
60+
Char Codes
175+
Aliases
v7.1
July 2026
Table of Contents
1
Paper Space & Layout Fundamentals
▲ Contents

AutoCAD has two distinct working environments: Model Space and Paper Space. Every professional drawing workflow lives in Paper Space — your virtual sheet of paper — while all geometry is drawn at 1:1 real-world scale in Model Space.

1.1  Model Space vs Paper Space
▲ Ch 1
EnvironmentPurposeScale Rule
Model SpaceDraw all geometry at true 1:1 size. A 30-ft wall = 360 drawing units (1 unit = 1 inch).Always 1:1. Never scale geometry here.
Paper Space (Layout Tabs)Virtual sheet of paper. Place title blocks, borders, notes, and viewports that show Model Space at a specific drawing scale.Plot at 1:1. Scale is controlled by the viewport.
Tip: The Golden Rule: Draw at 1:1 in Model Space, scale via viewport in Paper Space, plot Paper Space at 1:1. Every drawing can have multiple Layout tabs — one per sheet.
1.2  Setting Up a Layout Tab — Complete Workflow
▲ Ch 1
Step 1: Right-click the Layout tab > Page Setup Manager > Modify
Step 2: Set Printer/Plotter to DWG To PDF.pc3 (or your physical plotter)
Step 3: Select Paper Size (e.g., ARCH D 24x36 in.)
Step 4: Set 'What to Plot' to Layout and Plot Scale to 1:1
Step 5: Set Plot Style Table to monochrome.ctb for B&W output
Step 6: Set Drawing Orientation to Landscape or Portrait to match your title block
Step 7: Click OK > Set Current > Close
Step 8: Set Paper Space LIMITS: Command LIMITS > 0,0 > 36,24 (Arch D landscape) > ZOOM A
Step 9: Insert title block at 0,0 at scale 1. Create viewport(s) and set scale inside each viewport.
Sheet SizeOrientationLIMITS Upper RightNotes
ANSI A 8.5×11"Portrait8.5, 11Letter
ANSI B 11×17"Landscape17, 11Tabloid
ANSI C 17×22"Landscape22, 17
ANSI D 22×34"Landscape34, 22Common engineering
ANSI E 34×44"Landscape44, 34
Arch C 18×24"Landscape24, 18
Arch D 24×36"Landscape36, 24Most common arch sheet
Arch E 36×48"Landscape48, 36Large commercial
ISO A1 594×841mmLandscape841, 594Units must be mm
ISO A0 841×1189mmLandscape1189, 841Units must be mm
1.3  Viewport Fundamentals
▲ Ch 1

A viewport is a rectangular window in Paper Space that shows Model Space geometry at a specific scale. Double-click inside a viewport to activate it (green border) and set its scale.

ActionCommand / Method
Create a single viewportMV (MVIEW) > specify two corners
Set viewport scaleDouble-click inside VP > VP Scale drop-down, or ZOOM > 1/48XP for ¼"=1'-0"
Lock viewport scaleSelect VP border > Properties > Display Locked: Yes
Make VP border non-printingLayer Manager > click plotter icon on the VP layer
Clip a viewport to custom shapeVPCLIP > select VP > select cutting object
Turn viewport offMVIEW > Off > click inside VP
▲ Back to Contents
2
Title Blocks & Smart Attributes
▲ Contents

A smart title block replaces static text with attributes — editable fields embedded inside a block. When you insert the block, AutoCAD displays a fill-out form for each field. Using Fields and Sheet Set Manager, the sheet number and total page count update automatically as your drawing set grows.

2.1  ATTDEF — Attribute Definition Dialogue
▲ Ch 2
SettingDescription
Mode — InvisibleHidden after insert. Use for tracking data not shown on the sheet (file path, project code).
Mode — ConstantFixed value — no prompt on insert. Use for company name that never changes.
Mode — VerifyConfirms the value after insert. Extra check for critical fields like job numbers.
Mode — PresetUses default without prompting, but still editable via EATTEDIT. Use for Fields (date, sheet number).
Mode — Lock PositionPrevents moving individual attribute text. Recommended for all title block attributes.
Mode — Multiple LinesAllows multi-line MText input. Use for long project descriptions or addresses.
TagInternal field name (no spaces). e.g., PROJECT_NAME, SHEET_NO, DRAWN_BY
PromptText shown in the insert dialogue. e.g., 'Enter project name:'
DefaultPre-filled value. Right-click > Insert Field for auto-updating values (date, sheet number).
Text StyleMust match a style defined in your template. Use the same style as your title block text.
HeightPlot height. For 1:1 paper-space title blocks, use actual plot height (e.g., 0.125" for small fields).
Insertion OrderAttributes appear in the dialogue in the order they were placed. Plan ATTDEF sequence — top first.
Note: BATTORDER (inside BEDIT) lets you reorder the dialogue fields without redrawing. BATTMAN edits tag names, prompts, and modes for existing attributes without opening the Block Editor.
2.2  Standard Title Block Attributes
▲ Ch 2
TagPromptModeNotes
PROJECT_NAMEProject name:NormalLargest text. Middle-Center justification.
PROJECT_NOProject number:NormalJob or contract number.
CLIENTClient / Owner:Normal
ADDRESSProject address:Multiple Lines2-line addresses.
SHEET_TITLESheet title:Normale.g., 'Site Plan', 'Floor Plan'.
SHEET_NOSheet number:PresetLink to Sheet Set Field for auto-fill.
SHEET_TOTALTotal sheets:PresetLink to NumberOfSheets Field — auto-updates.
DRAWN_BYDrawn by:NormalInitials or full name.
CHECKED_BYChecked by:Normal
APPROVED_BYApproved by:Normal
DRAW_DATEDrawing date:PresetLink to Date Field for auto-fill.
SCALEDrawing scale:NormalDefault: AS SHOWN.
REVISIONRevision:NormalDefault: 0.
DWG_NODrawing number:NormalUnique file identifier.
COMPANYConstantAlways your firm's name — never prompted.
FILE_PATHInvisible, PresetInvisible. Link to File Path Field for tracking.
2.3  Building the Smart Title Block
▲ Ch 2
1. Draw border geometry on layer TB-BORDER. Draw static labels on TB-LABELS.
2. Type ATTDEF for each field. Fill in mode, tag, prompt, default. Place each attribute in top-to-bottom form order.
3. Type BLOCK > name it (e.g., TB-ARCH-D) > set insertion point at lower-left corner > select all geometry and all ATTDEF objects > OK.
4. Type WBLOCK to save as a standalone .dwg for reuse in other projects.
5. File > Save As > AutoCAD Drawing Template (.dwt) to embed the title block in a template.
6. Run ATTSYNC after any future block edits to push definition changes to all existing instances.
2.4  Fields: Auto-Updating Values Inside Attributes
▲ Ch 2
Field TypeHow to InsertWhat It Shows
Current dateFIELD > Date & Time > Date > format M/d/yyyyToday's date — updates on open/save
Save dateFIELD > Date & Time > SaveDateDate the file was last saved
Sheet number (SSM)FIELD > SheetSet > Sheet > CurrentSheetNumberSheet's SSM number — auto-increments
Total sheets (SSM)FIELD > SheetSet > Sheet Set > NumberOfSheetsTotal sheets in set — updates as sheets added
Sheet title (SSM)FIELD > SheetSet > Sheet > CurrentSheetTitleSheet title from the DST file
Drawing filenameFIELD > Document > FilenameCurrent .dwg filename
Full file pathFIELD > Document > Filename > check Full pathComplete folder path
Force all fields to recalculate now: Command: UPDATEFIELD Control grey field shading: FIELDDISPLAY = 0 (no shading) FIELDDISPLAY = 1 (grey — default, shows which text is a Field)
2.5  Auto Page Count via Sheet Set Manager
▲ Ch 2

When your drawing file is part of a Sheet Set (.dst), the CurrentSheetNumber and NumberOfSheets Fields update automatically every time sheets are added, removed, or renumbered.

1. Type SHEETSET (or SSM) > New Sheet Set Wizard > create a .dst file for the project.
2. Add each Layout: right-click a subset > Import Layout as Sheet.
3. Set Sheet Number for each sheet: right-click in SSM > Properties > Number (e.g., A-1, C-1).
4. BEDIT > double-click SHEET_NO attribute > Default field > right-click > Insert Field > SheetSet > Sheet > CurrentSheetNumber.
5. Set SHEET_TOTAL the same way but Field type = SheetSet > Sheet Set > NumberOfSheets.
6. Close Block Editor > Save Changes.
7. Run ATTSYNC > Update to push Field-linked defaults to all existing insertions.
8. Add a new Layout to the Sheet Set > all SHEET_TOTAL attributes update on next REGEN.
Tip: Result: every title block shows 'Sheet X of Y' with no manual editing. Add a Layout, add it to the Sheet Set, assign its number — all other sheets update their Y total automatically.
2.6  EATTEDIT, ATTSYNC & BATTMAN
▲ Ch 2
CommandWhat It DoesWhen to Use
EATTEDITDouble-click block > tabbed dialogue. Edit any attribute value, text style, height, or layer.After insertion to update title block fields.
ATTEDITGlobal edit — change one attribute value across all instances in the drawing.Batch-changing e.g. DRAWN_BY across all sheets.
ATTSYNCPushes updated block definition to all existing insertions.Always run after adding a new field to the block.
BATTMANBlock Attribute Manager — edit tag, prompt, mode, height, style. Move Up/Down sets form order.Reordering the dialogue without opening Block Editor.
BATTORDERDrag to reorder attribute prompts inside Block Editor.Inside BEDIT only — sets the Insert dialogue order.
DATAEXTRACTIONExport all attribute values to AutoCAD table or .xlsx.Generating a drawing register from all title blocks.
2.7  Custom Dialogue with AutoLISP + DCL
▲ Ch 2

An AutoLISP routine paired with a DCL dialogue file creates a custom fill-out form that auto-counts Layout tabs and populates all title block attributes with one command.

; Save as titleblock.dcl in your Support folder titleblock_dialog : dialog { label = "Fill Out Title Block"; : edit_box { label = "Project Name:"; key = "proj_name"; width = 40; } : edit_box { label = "Project Number:"; key = "proj_no"; width = 40; } : edit_box { label = "Client:"; key = "client"; width = 40; } : edit_box { label = "Sheet Title:"; key = "sheet_title"; width = 40; } : edit_box { label = "Sheet Number:"; key = "sheet_no"; width = 10; } : text { label = "Total Sheets:"; key = "total_lbl"; } : edit_box { label = "Drawn By:"; key = "drawn_by"; width = 20; } : edit_box { label = "Scale:"; key = "scale"; width = 20; value = "AS SHOWN"; } ok_cancel; } ; LISP routine — run command: FILLTB (defun c:FILLTB ( / dcl_id result layouts total) (setq layouts (vla-get-layouts (vla-get-activedocument (vlax-get-acad-object)))) (setq total (- (vla-get-count layouts) 1)) ; exclude Model Space (setq dcl_id (load_dialog "titleblock.dcl")) (new_dialog "titleblock_dialog" dcl_id) (set_tile "total_lbl" (strcat "Total Sheets: " (itoa total))) (setq result (start_dialog)) (unload_dialog dcl_id) ; write attribute values to block via vlax-for ... (princ))
Note: Save both .dcl and .lsp files to your AutoCAD Support File Search Path (Options > Files > Support File Search Path). Load via APPLOAD. Run command: FILLTB.
2.8  DATAEXTRACTION — Automatic Drawing Register
▲ Ch 2
1. Type DATAEXTRACTION > Create a new extraction > name and save the .dxe file.
2. Select Drawings/sheet set > add all .dwg files in the project.
3. Select Objects page > select only your title block name.
4. Select Properties page > check only the tags you want: PROJECT_NAME, SHEET_TITLE, SHEET_NO, DRAWN_BY, DWG_NO.
5. Refine Data page > set column order, sort by SHEET_NO.
6. Choose output: Insert data extraction table into drawing (cover sheet), or Output to .xlsx.
7. Re-run from the saved .dxe file any time the project changes — drawing register updates in seconds.
▲ Back to Contents
3
Blocks, Dynamic Blocks & XRefs
▲ Contents
3.1  Block Basics
▲ Ch 3
CommandAction
BLOCK (B)Create a block from selected objects in the current drawing.
WBLOCK (W)Write block to a standalone external .dwg file.
INSERT (I)Insert a block — classic dialogue with attribute fill-out form.
CLASSICINSERTForces the legacy Insert dialogue (preferred for attribute blocks).
EXPLODE (X)Explode a block into individual objects. Destroys attribute values.
BEDIT (BE)Open Block Editor — edit the block definition in-place.
REFEDITEdit a block or xref in-place within the drawing context.
PURGERemove unused block definitions and other unused named objects.
ATTSYNCUpdate all block instances after editing block definition attributes.
RENAMERename a block definition without redefining it.
3.2  Dynamic Block Parameters & Actions
▲ Ch 3

Dynamic blocks let a single block definition behave like multiple blocks. Parameters define what can change; actions define how it changes.

ParameterWhat It ControlsPaired Action(s)
LinearDistance along one axis (e.g., stretch a wall length)Stretch, Scale, Move, Array
PolarDistance + angle (e.g., rotate and stretch simultaneously)Stretch, Move, Scale, Array
XYIndependent X and Y distancesStretch, Scale, Move, Array
RotationRotation angle around a base pointRotate
FlipMirror the block horizontally or verticallyFlip
VisibilityShow/hide sets of objects — creates a drop-down on insert(Visibility States — no action needed)
LookupSelect from a predefined list that drives other parametersLookup
PointMove objects to any XY position relative to the blockMove, Stretch

Visibility States — Step by Step

1. Open the block in BEDIT.
2. Add a Visibility parameter (Parameters tab > Visibility).
3. Click the Visibility States button on the ribbon.
4. Click New to add a state name (e.g., 'Open', 'Closed', '90-Degree').
5. For each state, show/hide the objects that should be visible in that state.
6. Close Block Editor > Save. The block now shows a grip with a drop-down list.
Tip: Combine Lookup + Visibility to build a smart door block: one Lookup list drives a Visibility state that changes the door swing geometry automatically.
3.3  XRef Manager — Complete Reference
▲ Ch 3
Attach TypeBehaviourWhen to Use
AttachNested XRefs come in with the file. If host is XRefed elsewhere, all nested refs show too.Most common for discipline coordination drawings.
OverlayNested XRefs are stripped. Only the top-level ref is shown.Avoid circular references in large project sets.
Path TypeHow it Stores the PathBest Use
Full PathAbsolute path on disk (e.g., C:\Projects\Site.dwg)Single-user or fixed server location.
Relative PathPath relative to host drawing (e.g., ..\Civil\Site.dwg)Networked project folders — portable.
No PathFilename only — AutoCAD searches Support File Search Paths to find it.Files always in same folder as host.
XRef CommandPurpose
XATTACH (XA)Attach an XRef — opens the Attach External Reference dialogue.
XREF / EXTERNALREFERENCESOpen the External References palette to manage all XRefs.
XBINDImport specific XRef-dependent named objects into the host drawing.
XCLIP (XC)Clip an XRef to a rectangular or irregular boundary.
RELOADALLForce all XRefs to reload their latest saved state from disk.
DETACHPermanently remove an XRef from the drawing.
BINDConvert an XRef into a permanent block in the drawing.
ETRANSMITPackage drawing + all XRefs into a ZIP for transmittal.
ProblemCauseFix
XRef not foundPath changed or file movedExternal References palette > right-click > Select New Path.
Missing layers from XRefLayer frozen or XRef not loadedReload the XRef. Check VISRETAIN = 1.
XRef shows wrong versionFile not saved after editsSave the source file. RELOADALL in host drawing.
Can't select XRef objectsXRef is on a locked layerUnlock the XRef's layer in the host drawing.
XRef binding failsDuplicate named objects (layer names clash)Use Bind with 'Insert' option to merge layer names.
▲ Back to Contents
4
Scaling Reference
▲ Contents
4.1  Scale Factors by Discipline
▲ Ch 4
Drawing ScaleScale FactorDIMSCALE / LTSCALEText Ht for ⅛" plotZOOM XP Value
1" = 10'12012015"1/120xp
1" = 20'24024030"1/240xp
1" = 30'36036045"1/360xp
1" = 40'48048060"1/480xp
1" = 50'60060075"1/600xp
1" = 60'72072090"1/720xp
1" = 100'12001200150"1/1200xp
1/16" = 1'-0"19219224"1/192xp
1/8" = 1'-0"969612"1/96xp
3/16" = 1'-0"64648"1/64xp
1/4" = 1'-0"48486"1/48xp
3/8" = 1'-0"32324"1/32xp
1/2" = 1'-0"24243"1/24xp
3/4" = 1'-0"16162"1/16xp
1" = 1'-0"12121.5"1/12xp
1.5" = 1'-0"881"1/8xp
3" = 1'-0"440.5"1/4xp
Full size 1:1110.125"1xp
4.2  Annotative Objects
▲ Ch 4
Setting / CommandValue / ActionPurpose
CANNOSCALESet to viewport scale before placing objects (e.g., 1/4"=1'-0")Controls which annotation scale is current
ANNOALLVISIBLE1 = show all scales / 0 = show only current scaleControls visibility of non-current scale objects
Text / DimsCheck 'Annotative' in Text Style or Dimension StyleMakes all text/dims in that style annotative
BlocksCheck 'Annotative' in Block Definition dialogueMakes the block annotative
Add a ScaleSelect annotative object > Properties > Annotative Scales > AddAdds another display scale to one object
4.3  Viewport Scales & ZOOM XP
▲ Ch 4
Set viewport scale via ZOOM XP (activate viewport first — double-click inside): 1/48xp -> 1/4"=1'-0" 1/96xp -> 1/8"=1'-0" 1/240xp -> 1"=20'-0" 1/480xp -> 1"=40'-0" Set viewport scale via the status bar drop-down: Double-click inside viewport > Status bar > VP Scale drop-down > select scale Lock the viewport scale after setting it: Click viewport border (in Paper Space) > Properties > Display Locked: Yes Or: right-click VP border > Display Locked > Yes
▲ Back to Contents
5
Plot & Print Guide
▲ Contents
5.1  CTB vs STB Plot Styles
▲ Ch 5
TypeHow It WorksWhen to Use
CTB (Color-Dependent)Line weight and plot properties are assigned by ACI colour number. All objects on colour 1 (red) plot at the same weight regardless of layer.Legacy drawings. Simple black-and-white output. Most common in utility and civil workflows.
STB (Named Plot Style)Line weight is assigned by named style (e.g., 'Thin', 'Medium', 'Heavy') applied per layer or per object. ACI colour is independent of print weight.Complex drawings requiring different weights on the same colour. New projects starting from scratch.
Tip: To convert a drawing from CTB to STB (or vice versa): type CONVERTPSTYLES. Common CTB files: monochrome.ctb (B&W), acad.ctb (colours), screening 25%.ctb.

Common CTB Lineweight Assignments (monochrome.ctb)

ACI ColourColour NameTypical LineweightCommon Use
1Red0.05 mmHatch, annotation, notes
2Yellow0.09 mmDimension lines
3Green0.13 mmCenterlines, hidden lines
4Cyan0.18 mmProperty lines, grid
5Blue0.25 mmWalls, standard objects
6Magenta0.35 mmMajor objects, equipment
7White0.50 mmBorder, title block lines
5.2  Page Setup & Plotting to Scale
▲ Ch 5
MethodPlot Scale SettingNotes
Paper Space (recommended)1:1 alwaysScale is controlled entirely by the viewport. Plot the Layout at exactly 1:1.
Model Space (avoid)Manually set each plotMust recalculate scale for every plot. Error-prone. No title block.
5.3  Batch Plotting with PUBLISH
▲ Ch 5
1. Type PUBLISH > the Publish dialogue opens with all Layout tabs listed.
2. Add or remove sheets. Set 'Publish to' = PDF. Set 'Number of copies' = 1.
3. Check 'Publish in background' for large sets. Click Publish.
4. For multi-sheet PDFs: set the plot to DWG To PDF.pc3 and 'Publish as single sheet' = No.
5. Use SHEETSET (Sheet Set Manager) for the most powerful batch plot workflow — plots the entire set in one click with correct sheet ordering.
5.4  Common Plot Problems & Fixes
▲ Ch 5
ProblemCauseFix
PDF at wrong scalePlot Scale not 1:1Page Setup > set Plot Scale to 1:1. Scale is in the viewport.
Sheet is blankViewport not activated / wrong layer frozenDouble-click VP, confirm content visible. Check frozen layers.
Viewport border printsVP layer set to plottingLayer Manager > click printer icon on VP layer > non-printing.
Text/dims too smallDIMSCALE or text height not set to SFSet DIMSCALE = SF. Or switch to annotative objects.
Dashed lines appear solidLTSCALE not matching Scale FactorSet LTSCALE = SF. Confirm PSLTSCALE = 1.
Colors plot grey not blackWrong CTB file selectedPage Setup > Plot Style Table > monochrome.ctb.
Sheet rotated 90° in PDFDrawing orientation mismatchPage Setup > Drawing Orientation > Landscape or Portrait.
PDF paper size wrongCustom size not in plotterPlotter Properties > Custom Paper Sizes > Add > enter W × H.
Cut-off corners in PDFPrintable area margin issueMove border 0.125"–0.25" inside paper edge.
Need all sheets in one PDFPLOT only does one sheetUse PUBLISH > set to multi-sheet PDF.
▲ Back to Contents
6
Command Aliases Reference
▲ Contents
6.1  Essential Aliases by Category
▲ Ch 6

Draw

L LINE
PL PLINE
C CIRCLE
A ARC
REC RECTANG
POL POLYGON
EL ELLIPSE
SPL SPLINE
H HATCH
T MTEXT
DT TEXT
B BLOCK
I INSERT
W WBLOCK
DIV DIVIDE
ME MEASURE
PO POINT
DO DONUT
REG REGION
BH BHATCH

Modify

E ERASE
CO COPY
M MOVE
RO ROTATE
SC SCALE
MI MIRROR
O OFFSET
TR TRIM
EX EXTEND
BR BREAK
J JOIN
F FILLET
CHA CHAMFER
X EXPLODE
S STRETCH
LEN LENGTHEN
PE PEDIT
AL ALIGN
AR ARRAY
SL SLICE

View & Display

Z ZOOM
P PAN
V VIEW
RE REGEN
REA REGENALL
3DO 3DORBIT
HI HIDE
LA LAYER
LW LWEIGHT
UN UNITS
OP OPTIONS
PU PURGE

Dimension

D DIMSTYLE
DLI DIMLINEAR
DAL DIMALIGNED
DAN DIMANGULAR
DDI DIMDIAMETER
DRA DIMRADIUS
DCO DIMCONTINUE
DBA DIMBASELINE
LE LEADER
MLD MLEADER
TOL TOLERANCE
DOR DIMORDINATE

Properties & Inquiry

PR PROPERTIES
MA MATCHPROP
LI LIST
DI DIST
ID ID
AA AREA
TP TOOLPALETTES
ADC ADCENTER

Layouts & Output

MS MSPACE
PS PSPACE
MV MVIEW
SSM SHEETSET
PUB PUBLISH
QS QSAVE
BE BEDIT
XA XATTACH
XC XCLIP
XR XREF
XB XBIND
AT ATTDEF
6.2  Keyboard Shortcut Cheat Sheet
▲ Ch 6
KeyAction
F1Open AutoCAD Help (context-sensitive to active command)
F2Toggle Text Window (command history)
F3Toggle Object Snap (OSNAP) on/off
F4Toggle 3D Object Snap
F5Cycle Isoplane (Top / Right / Left) for isometric drawings
F6Toggle Dynamic UCS
F7Toggle Grid display
F8Toggle Ortho mode (restrict to horizontal/vertical)
F9Toggle Snap to Grid
F10Toggle Polar Tracking
F11Toggle Object Snap Tracking
F12Toggle Dynamic Input
ShortcutAction
Ctrl + SQuick Save (QSAVE)
Ctrl + Shift + SSave As
Ctrl + ZUndo
Ctrl + YRedo
Ctrl + CCopy to Clipboard
Ctrl + Shift + CCopy with Base Point
Ctrl + VPaste
Ctrl + Shift + VPaste as Block
Ctrl + XCut to Clipboard
Ctrl + ASelect All objects
Ctrl + OOpen drawing
Ctrl + NNew drawing
Ctrl + PPlot / Print
Ctrl + 1Toggle Properties palette
Ctrl + 2Toggle DesignCenter
Ctrl + 4Toggle Sheet Set Manager
Ctrl + 8Toggle Quick Calculator
Ctrl + 9Toggle Command Line
Ctrl + 0Toggle Clean Screen (hide all palettes)
EscCancel current command
Enter / SpaceRepeat last command
▲ Back to Contents
7
Special Character Codes
▲ Contents

AutoCAD supports two special character systems. %% codes work in single-line TEXT, attribute values, and MText. \U+ Unicode codes work in MText and attribute editors that support Unicode.

7.1  %% Control Codes
▲ Ch 7
CodeSymbolNameWorks InNotes
%%c⌀ (diameter)Diameter symbolTEXT, ATTDEF, MTextAlso %%C. Most common in utility and mechanical drafting.
%%d°Degree symbolTEXT, ATTDEF, MTextUse for angles, temps, bearings. e.g., 45%%d = 45°
%%p±Plus/Minus toleranceTEXT, ATTDEF, MTextStandard tolerance symbol. e.g., 1.500%%p0.005
%%uunderlineUnderline toggleTEXT, ATTDEF, MTextToggles underline on/off. Use twice to underline a word.
%%ooverlineOverline toggleTEXT, ATTDEFToggles overline (bar above text) on/off.
%%%%Percent signTEXT, ATTDEF, MTextSince %% is the escape prefix, use %%% for a literal %.
Note: %%nnn ASCII codes: In TEXT and ATTDEF you can type any character by decimal ASCII code. Examples: %%060 = <, %%062 = >, %%064 = @, %%091 = [, %%093 = ], %%123 = {, %%125 = }.
7.2  Unicode \U+ Codes for MText
▲ Ch 7
CodeNameCategory
\U+00B0Degree °Math & Engineering
\U+00B1Plus/Minus ±Math & Engineering
\U+00D8Diameter (Ø with stroke)Math & Engineering
\U+2300Diameter sign ⌀ (ISO)Math & Engineering
\U+2260Not equal to ≠Math & Engineering
\U+2248Approximately equal ≈Math & Engineering
\U+2264Less than or equal ≤Math & Engineering
\U+2265Greater than or equal ≥Math & Engineering
\U+00D7Multiplication sign ×Math & Engineering
\U+221ASquare root √Math & Engineering
\U+2220Angle symbol ∠Math & Engineering
\U+2032Prime ′ (feet / minutes)Math & Engineering
\U+2033Double prime ″ (inches / sec)Math & Engineering
\U+00B2Superscript 2 ² (squared)Fractions & Powers
\U+00B3Superscript 3 ³ (cubed)Fractions & Powers
\U+00BCOne quarter ¼Fractions & Powers
\U+00BDOne half ½Fractions & Powers
\U+00BEThree quarters ¾Fractions & Powers
\U+03B1Alpha αGreek Letters
\U+03B2Beta βGreek Letters
\U+0394Delta Δ (uppercase)Greek Letters
\U+03B8Theta θGreek Letters
\U+03BCMu μ (micro)Greek Letters
\U+03C0Pi πGreek Letters
\U+03C3Sigma σGreek Letters
\U+03A9Omega Ω / OhmGreek Letters
\U+2192Right arrow →Arrows
\U+2190Left arrow ←Arrows
\U+2191Up arrow ↑Arrows
\U+2193Down arrow ↓Arrows
\U+00A9Copyright ©Punctuation & Currency
\U+00AERegistered ®Punctuation & Currency
\U+2122Trademark ™Punctuation & Currency
\U+2022Bullet •Punctuation & Currency
\U+2014Em dash —Punctuation & Currency
\U+00B7Middle dot · (N·m, kW·h)Punctuation & Currency
\U+00A3Pound sterling £Punctuation & Currency
\U+20ACEuro €Punctuation & Currency
\U+00A5Yen ¥Punctuation & Currency
Tip: In MText, type the \U+xxxx code directly — AutoCAD converts it automatically. In TEXT/ATTDEF, use %% codes instead. Windows shortcut: hold Alt and type the decimal code on the numpad (e.g., Alt+0176 = °).
▲ Back to Contents
8
AutoLISP Quick Reference
▲ Contents
8.1  Essential AutoLISP Functions
▲ Ch 8
FunctionSyntax ExampleWhat It Does
command(command "LINE" pt1 pt2 "")Execute an AutoCAD command
getpoint(setq pt (getpoint "Pick point: "))Prompt user to pick a point
getstring(setq s (getstring "Enter name: "))Prompt user for text input
getreal(setq n (getreal "Enter number: "))Prompt user for a number
ssget(ssget "X" (list (cons 0 "INSERT")))Select set of objects by filter
entget(setq data (entget (ssname ss 0)))Get entity data as assoc list
entmod(entmod data)Modify entity with updated data
vlax-for(vlax-for obj (vla-get-attributes ent) ...)Iterate VLA object collection
vla-put-textstring(vla-put-textstring obj "New Text")Set attribute or text value
load_dialog(setq d (load_dialog "myfile.dcl"))Load a DCL dialogue file
new_dialog(new_dialog "dialog_name" d)Initialize and show dialogue
start_dialog(setq result (start_dialog))Run dialogue — returns 1 on OK
get_tile(get_tile "key_name")Get value from a DCL control
set_tile(set_tile "key_name" "value")Set value of a DCL control
princ(princ "\nDone.")Print to command line (no echo)
8.2  Common LISP Snippets
▲ Ch 8
; Count Layout tabs (excluding Model Space) (defun count-layouts () (- (vla-get-count (vla-get-layouts (vla-get-activedocument (vlax-get-acad-object)))) 1)) ; Get current drawing name (defun get-dwgname () (vla-get-name (vla-get-activedocument (vlax-get-acad-object)))) ; Select all INSERT objects with a specific block name (defun get-block (bname) (ssget "X" (list (cons 0 "INSERT") (cons 2 bname)))) ; List all attribute tags + values on a block insert (defun list-attrs (ent) (vlax-for obj (vla-get-attributes (vlax-ename->vla-object ent)) (princ (strcat "\n" (vla-get-tagstring obj) ": " (vla-get-textstring obj)))))
8.3  Loading & Autoloading LISP Files
▲ Ch 8
MethodHow To
Manual loadType APPLOAD > browse to .lsp file > Load > Close
Auto-load on startupAdd path to Options > Files > Startup Suite (APPLOAD > Contents button)
acad.lspSave file as acad.lsp in your Support folder — AutoCAD loads it on every new drawing
acaddoc.lspLoads once per document. Use for document-specific routines.
Support File PathOptions > Files > Support File Search Path > add your LISP folder
▲ Back to Contents
40+Pages
175+Command Aliases
60+Char Codes
v7.1July 2026

AutoCAD 2024 Scaling & Units Manual — utilitydrafter.com — Anthony Squires — 2026