• 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

BALLOONTAG LISP: Numbered Detail Balloons on Leaders

August 6, 2026

BALLOONTAG places a numbered balloon on a leader — the round or hexagonal callout used to key a part on an assembly drawing to a line on the parts list, or a detail on a sheet to the detail that draws it.

What BalloonTag does

The balloon can be divided into one, two, three or four compartments, which is how detail keys are normally written: detail number over sheet number, or a four-way split carrying item, quantity, detail and sheet.

It auto-increments. When the text you type is a whole number, the next balloon offers the number after it as its default. Ballooning twenty parts in sequence is then pick, pick, Enter — twenty times.

The command repeats until you press Enter.

How to use it

  1. Load the routine with APPLOAD, or put it on your support file search path.
  2. Type BALLOONTAG.
  3. Pick the arrow point — what the balloon is pointing at.
  4. Pick the balloon centre.
  5. Type the text, or press Enter to accept the next number.
  6. Keep going. Press Enter at the arrow prompt to finish.

How it works

The leader stops at the balloon’s edge rather than running under it, worked out by stepping back one radius along the leader angle from the centre. A leader that disappears beneath the balloon looks fine on screen and shows as a smudge on the plot.

The arrowhead is sized from DIMASZ × DIMSCALE, so it matches the arrowheads on the drawing’s dimensions without anyone having to remember what the scale is.

Divider lines are drawn as true chords of the circle, not as lines across a bounding box — so a two-way split meets the balloon edge exactly, at both ends, at any size.

Text is placed middle-centre in each compartment, so it is genuinely centred rather than approximately centred by nudging a baseline. On a four-way split that difference is visible.

Size. The balloon radius is DIMSCALE × 0.1563, a shade under a 5/16 inch diameter balloon on the plotted sheet, unless you override it — in which case your size is remembered for the rest of the session. Everything else is proportional to that radius, so the whole callout scales together.

Notes and limits

  • Auto-increment only fires on whole numbers. Type A1 and the next balloon starts empty.
  • The size override lasts the session, not the drawing.
  • Set DIMSCALE before you start. Everything is derived from it, so a wrong scale produces a consistently wrong callout.
  • One undo group per balloon, so a misplaced one costs one U.

Download and details

NameBalloonTag — place numbered detail balloons on leaders
DownloadBalloonTag.lsp — 13.7 KB, plain AutoLISP source. Downloads directly; no zip to unpack.
TypeAutoCAD AutoLISP routine
CommandBALLOONTAG
Requiresnothing beyond a CAD platform with AutoLISP.
Source size13.7 KB, 327 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 — incremental numbering with a full content builder
  • BARB LISP — leader arrows sized the same way, without a balloon
  • Drawing scale chart — what DIMSCALE should be at each scale
  • 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