• Skip to main content
  • Skip to primary sidebar
  • Skip to footer
blog.draftsperson.net

blog.draftsperson.net

the art of technical drawing

blog.draftsperson.net

SERIALTAG LISP: Place Incrementing Number and Letter Tags

August 6, 2026

SERIALTAG places a running sequence of labels — 1, 2, 3 or A, B, C or GL-1, GL-2 — one at each point you pick, optionally enclosed in a circle or a hexagon.

What SerialTag does

Grid references, door numbers, item marks, revision letters, detail keys: anything that counts up as you go round the drawing.

Three counter styles. Number steps by any whole amount. Decimal steps by any amount, to three places. Letter runs A, B, C and correctly on past Z into AA, AB, AC.

That last point matters. A counter that stops at Z and resets to A silently produces two tags called A on the same drawing, the moment you pass twenty-six.

How to use it

  1. Load the routine with APPLOAD, or put it on your support file search path.
  2. Type SERIALTAG.
  3. Set the counter style, start, step, any prefix or suffix, and whether tags are enclosed.
  4. Pick points. Press Enter to stop.

How it works

Prefix and suffix are plain text wrapped round the counter, so GL- gives GL-1, GL-2, GL-3, and a suffix of TYP gives 1 TYP, 2 TYP.

The enclosure grows with the label. A single digit gets a small circle; three digits or a long prefix gets a bigger one, so the text never touches the ring.

The sequence carries on. Where the counter got to is remembered, so you can stop, do something else and start again where you left off — the next run offers the number after the last one placed.

Text height is DIMTXT × DIMSCALE, unless the current style has a fixed height, in which case the style wins. The enclosure is proportional to that, so the whole tag scales together.

Notes and limits

  • Letters carry past Z properly into AA, AB and so on.
  • The counter persists between runs in a session.
  • A fixed-height text style overrides DIMTXT.
  • One undo group covers the run of tags.

Download and details

NameSerialTag — place a running sequence of numbered or lettered tags
DownloadSerialTag.lsp — 14.6 KB, plain AutoLISP source. Downloads directly; no zip to unpack.
TypeAutoCAD AutoLISP routine
CommandSERIALTAG
Requiresnothing beyond a CAD platform with AutoLISP.
Source size14.6 KB, 354 lines
Error handlingYes — a *error* handler restores every system variable it changed, on cancel as well as on error.
UndoThe whole operation is wrapped in a single undo group, so one U reverses all of it.
CompatibilityAutoCAD (any release with AutoLISP), BricsCAD, ZWCAD, GstarCAD, ProgeCAD and other IntelliCAD-based platforms. AutoCAD LT needs a LISP enabler. No .NET, no ObjectARX, no installer.
AuthorYZ, August 2026
LicenceFree to use, supplied “as is” with no warranty.

References

  • NUMSTAMP LISP — a full content builder with reset rules and curve placement
  • BALLOONTAG LISP — numbered balloons on leaders
  • AUTOTAG LISP — numbering that maintains itself
  • More free AutoLISP routines on this site
  • Wisey’s Steel Shapes — free structural steel section drawing program

Filed Under: AutoLISP Routines

Primary Sidebar

Subscribe to our Youtube Channel

Post CAD drafting jobs on Freelancer.com. and get some free money to do this.

Categories

  • American Steel Industry (4)
  • AutoCAD Articles & Reference (30)
  • AutoCAD Bugs & Problems (19)
  • AutoCAD Tips (29)
  • AutoCAD Tutorials (54)
  • AutoLISP Routines (328)
  • AutoLISP Tutorials (15)
  • CAD Standards (7)
  • Civil 3D (7)
  • Civil Drafting (4)
  • Dimensions (2)
  • Drafting Funnies (71)
  • Drafting History (9)
  • Drafting Standards (84)
  • Electrical Drafting (2)
  • General IT reference (7)
  • Geometry (15)
  • GIS (2)
  • Hatch Patterns (12)
  • Office Life Hacks (3)
  • PT (1)
  • Revit Tutorials (54)
  • Steel Detailing (14)
  • Structural Drafting (26)
  • Technical Dictionary (61)
  • Useful Website Links (19)

Footer

Free downloads

  • Free AutoLISP routines
  • Free hatch patterns
  • SHX fonts & text styles
  • Numbering LISP collection
  • ISO 3098B font

Reference charts

  • AWS weld symbols chart
  • Steel detailing chart
  • Hole & slot sizes
  • Bolt edge distance
  • ANSI & ARCH paper sizes
  • How to fold an A1 drawing

Useful links

  • CAD blocks (DWG)
  • Revit families
  • structuraldrafter.com
  • cad-corner.com
  • About
  • Privacy policy

Provided for free with no warranty · Log in