Quick Access Search All Tools Ctrl+K Help & Tool Guide
⚡ Interactive Table & Data Tools

Generate FIELD codes for auto-updating text in title blocks, tables, and notes. The code below can be inserted via Insert → Field or typed directly in MTEXT.

Field Category
Field Type
Format / Prefix
Generated FIELD Code:
%<\AcVar Author \f "%tc1">%
Common Ready-to-Use FIELD Codes:
Current Date
%<\AcVar Date \f "M/d/yyyy">%
File Name (no ext)
%<\AcVar Filename \f "%fn">%
Total Pages (Sheet Set)
%<\AcSsField TotalSheets>%
Sheet Number
%<\AcSsField SheetNumber>%
Sheet Title
%<\AcSsField SheetTitle>%
Last Save Date
%<\AcVar SaveDate \f "M/d/yyyy">%
Plot Date
%<\AcVar PlotDate \f "M/d/yyyy">%
Full File Path
%<\AcVar Filename \f "%fp%fn%fe">%

Click any card to copy the FIELD code. Use UPDATEFIELD to refresh all fields in the drawing.

A Table Style (TABLESTYLE) controls all visual properties of tables — title row, header row, data rows, borders, text height, and alignment. Set it once in your template and all tables match.

Sample: Pole Loading Schedule Style
POLE LOADING SCHEDULE — DISTRIBUTION LINE
Pole #Height / ClassSetting DepthGround Line MomentStatus
P-00145' / Class 37'-0"7,800 ft-lbNew
P-00240' / Class 46'-6"5,200 ft-lbExist.
P-00350' / Class 27'-6"11,400 ft-lbNew
P-00445' / Class 37'-0"8,100 ft-lbReplace
Table Style Anatomy — Key Settings to Configure:
SettingLocation in TABLESTYLERecommended Value
Title Row BackgroundTitle row → General → FillDark blue (ACI 5 or firm color)
Title Text StyleTitle row → Text → StyleYour Title text style, 3/16" height
Header Row BackgroundHeader row → General → FillMid blue or dark gray
Header Text ColorHeader row → Text → ColorWhite (ACI 7)
Data Row FontData row → Text → StyleStandard style, 1/8" height
Data Row AlignmentData row → General → AlignmentMiddle Left
Cell MarginsGeneral tab → MarginsH: 0.06", V: 0.04"
Border Weight (outer)Borders → Outside borders0.50mm / Lineweight
Border Weight (inner)Borders → Inside borders0.25mm / Lineweight
Title Row SuppressTitle row → check offOff if you use a separate title

AutoCAD TABLE vs Linked Table

AutoCAD has two types of tables: native tables (created entirely within AutoCAD) and linked tables (connected to an external Excel file via a Data Link). Understanding the difference is critical for choosing the right approach.

FeatureNative TABLELinked TABLE (Excel)
Data sourceTyped directly in AutoCADExternal .xlsx / .csv file
Auto-updateNo — manual edits onlyYes — via DATALINKUPDATE
Formula supportBasic (SUM, AVERAGE in cells)Full Excel formulas (before linking)
Multi-user editingOne person at a time in DWGExcel can be edited while DWG is open
Best useStatic schedules, note blocksLive equipment schedules, BOMs, pole loading
PortabilitySelf-contained in .dwgRequires .xlsx in same relative path
Column width controlFull in AutoCADInherited from Excel, adjustable in AutoCAD
Plotting reliabilityAlways plots as-isMust update before plotting
💡 Utility drafters: Use linked tables for pole schedules and equipment lists that engineers update in Excel. Use native tables for static note blocks and sheet indexes that only change in AutoCAD.

FIELD Codes — Auto-Updating Text

FIELD codes are special text objects that automatically pull data from the drawing, file system, or sheet set. They update when you plot, save, or run UPDATEFIELD. Perfect for title blocks, revision clouds, and schedule dates.

Field TypeCommandCommon UseUpdates On
Date (current)%<\AcVar Date>%Issue date in title blockEvery plot / UPDATEFIELD
Save Date%<\AcVar SaveDate>%"Last revised" in title blockEvery save
Plot Date%<\AcVar PlotDate>%Print date stampEvery plot
File Name%<\AcVar Filename>%Drawing number in title blockEvery open / UPDATEFIELD
Author (doc prop)%<\AcVar Author>%Drawn By fieldUPDATEFIELD
Sheet Number (SSM)%<\AcSsField SheetNumber>%Sheet X of Y numberingSheet set update
Sheet Total (SSM)%<\AcSsField TotalSheets>%Total page countSheet set update
Object propertyInsert → Field → ObjectPull length/area from geometryObject changes
⚠️ FIELD codes display with a gray background in the drawing editor — this is normal and won't plot. Run UPDATEFIELD before plotting to ensure values are current. Use FIELDEVAL = 31 to auto-update on all triggers.

TABLESTYLE — Key Commands

TABLE
Insert a new table (native or linked)
TABLESTYLE
Create / edit / set current table style
DATALINK
Manage data link connections to Excel/CSV
DATALINKUPDATE
Push/pull data between Excel and AutoCAD table
FIELD
Insert a FIELD code into text or table cell
UPDATEFIELD
Force update all FIELD codes in drawing
FIELDEVAL
Set which events trigger auto field update (0–31)
TABLEDIT
Edit table cell content in-place
TABLEEXPORT
Export AutoCAD table to .csv file
EXTRACTDATA
Extract object attributes/properties to table or file
EATTEXT
Extract block attribute data to Excel/table
DATAEXTRACTION
Wizard-based data extraction from blocks/objects

EXTRACTDATA / EATTEXT — Live Block Schedules

One of the most powerful AutoCAD data features: extract attribute data from all blocks in a drawing into an auto-updating table. For utility work, this means your pole schedule can auto-populate from the pole block attributes you placed in the drawing.

What Gets Extracted
  • Block name
  • All attribute values (ATTDEF fields)
  • Insertion point (X, Y, Z coordinates)
  • Layer name
  • Block count / quantity
  • Object properties (color, lineweight)
  • Custom properties
Utility Drawing Applications
  • Pole schedule from pole blocks (height, class, guying)
  • Equipment schedule from transformer blocks
  • Bill of materials from device blocks
  • Span table from conductor annotation blocks
  • Guy wire schedule from guy block attributes
  • Streetlight schedule from light fixture blocks

System Variables

FIELDEVAL
0=never, 1=new, 2=save, 4=plot, 8=etransmit, 16=regen
Controls when FIELD codes automatically update. Set to 31 (all triggers) in templates.
TABLEINDICATOR
0=off, 1=on
Shows row/column indicators when editing a table. Set to 1 for easier editing.
FIELDDISPLAY
0=no highlight, 1=gray highlight
Controls the gray background on FIELD codes. Set to 0 before plotting screenshots.
DTEXTED
0=in-place editor, 1=dialog box, 2=command line
Controls how DTEXT edits appear. Set to 0 for in-place editing (most efficient).
TEXTALLCAPS
0=off, 1=all caps
Forces all new MTEXT to uppercase. Useful for drawing standards requiring uppercase notes.
TABLESELECTED
Read-only
Returns the name of the current table style. Use TABLESTYLE to change the current style.

Common Problems

ProblemCauseFix
Data link won't updateExcel file path changed or file is open by another userCheck DATALINK manager — verify path. Close Excel, then DATALINKUPDATE.
Table cells show "####"Column too narrow to display valueDrag the column separator wider, or right-click → Column Width → set a larger value.
FIELD shows old value after saveFIELDEVAL set too lowSet FIELDEVAL = 31. Run UPDATEFIELD manually to force a refresh.
Linked table loses formatting after updateExcel cell merges or new rows insertedAvoid merged cells in Excel. If rows added, re-check the data range in DATALINK.
EXTRACTDATA creates duplicate rowsBlocks on multiple layers or in blocks within blocksFilter by block name in the extraction wizard. Check "Select objects" instead of "Entire drawing."
Table style not applying to new tablesWrong style set as currentTABLESTYLE → select your style → Set Current, then re-insert table.
FIELD code shows formula text instead of valueFIELD not recognized (wrong syntax)Delete and re-insert via Insert → Field dialog instead of typing manually.
Table explodes when client opens the DWGClient using older AutoCAD versionUse TABLEEXPORT to send a CSV alongside the DWG. Linked tables require matching AutoCAD version.