• 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

BATT LISP: Fibreglass Batt Insulation Symbol

August 6, 2026

BATT fills a cavity with the standard batt insulation squiggle — the serpentine loop run used on wall sections, roof build-ups and partition plans to show what is insulated. Pick along one face of the cavity, give the thickness or pick the opposite face, and the run is filled between the two.

What BattInsul does

Note: there are two BATT routines on this site. This one and the older BATT LISP both define a command called BATT, so load one or the other, not both — whichever is loaded second silently replaces the first. They are kept separate rather than merged because they draw the symbol differently and people are used to the one they have.

One closed loop of polyline, not a row of inserted blocks. The centre line runs the length of the cavity alternating between the two faces, with each segment bulged into a half circle, which gives the familiar row of lobes. A second pass back along the run closes it, so the batt reads as a single object that can be selected, moved or erased in one go.

How to use it

  1. Load the routine with APPLOAD, or put it on your support file search path.
  2. Type BATT.
  3. Pick along one face of the cavity.
  4. Give the thickness, or pick the opposite face.

How it works

A polyline segment carries a bulge: the tangent of a quarter of the arc’s included angle. A bulge of 1 is therefore a half circle, and its sign says which way the arc turns. Alternating the sign segment by segment is what produces the serpentine — that one property is the whole routine.

The lobes are inset slightly from the cavity faces. That gap is deliberate: at plot scale the outer loops would otherwise merge into the wall lines and the whole thing turns into a smudge. The original called it a pen allowance, which is exactly what it is.

Nothing has to be sitting in the current folder. The original could not run without BATT.DWG beside it, and a second file, INPUT.LSP, for one of its input helpers. The geometry is drawn directly and everything needed is in the one file.

Insertion points are passed as values, not by writing to the LASTPOINT system variable and reading it back between calls — which meant any command run in between, or any object snap, moved the batt.

No variable is called T or echo. One helper was written (defun distget (b p d / t), declaring T — the symbol for true — as a local and then assigning to it, so anything called while that function ran saw a broken T.

Notes and limits

  • Command name clash. Do not load this alongside the older BATT LISP.
  • One closed polyline, so the whole run selects as one object.
  • No supporting DWG or LSP is needed.
  • One undo group covers the run.

Download and details

NameBattInsul — fill a cavity with the batt insulation squiggle
DownloadBattInsul.lsp — 10.3 KB, plain AutoLISP source. Downloads directly; no zip to unpack.
TypeAutoCAD AutoLISP routine
CommandBATT
Requiresnothing beyond a CAD platform with AutoLISP.
Source size10.3 KB, 232 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

  • BATT LISP — the older routine of the same command name
  • WALLSECTION LISP — a wall section that draws its own insulation
  • Material hatch patterns — when a hatch suits better than a symbol
  • 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