PIPES – Sum 3D Pipe Lengths by Diameter (Free AutoCAD LISP)

11th August 2026

FREE AUTOCAD LISP

PIPES — total 3D pipe length per diameter, in one table

Select your 3D solid pipes and PIPES inserts a table with the total length of every diameter — a Diameter column and a Length column, one row per size.

It reads true cylinders: pipes drawn with the CYLINDER command, or circles extruded or swept along a straight path. Anything that is not a cylindrical solid is simply ignored, so a window selection over the whole model works.

PIPES free AutoCAD LISP summing 3D pipe length by diameter into a table

How to use it

  1. Unzip, then load the .lsp with APPLOAD.
  2. Type PIPES.
  3. Select the 3D solids – non-cylinders are filtered out automatically.
  4. Pick the table insertion point. One row per diameter.

Good to know

Reads 3D solid cylinders: CYLINDER command, or extruded/swept circles on a straight path
Output A native AutoCAD table – Diameter and Length columns
Text height Follows your current text style and the annotation scale
Command PIPES
Credit Written by Stefan M., one of the most talented LISP programmers out there – thank you, Stefan

From the same workshop — watch what the paid add-ons do

Divide Area for AutoCAD - product boxDivide Area add-on slicing an AutoCAD shape into equal strips

Divide Area
Split any closed shape into pieces of equal area – by number, by distance, a set area or a free cut.

See Divide Area$21.90

Area Measure for AutoCAD - product boxArea Measure add-on numbering AutoCAD polygons and inserting a totalled area table

Area Measure
Measure closed shapes in any unit, number them, and get a totalled area table – annotative text supported.

See Area Measure$21.90

PlotData for AutoCAD - product boxPlotData numbering parcel corners in AutoCAD and inserting the coordinate table

PlotData
Number every parcel corner, label every side length and azimuth, and insert the coordinate table – one selection.

See PlotData$19.90

Voronoi Generator for AutoCAD - product boxVoronoi Generator filling a closed AutoCAD polyline with organic cells

Voronoi Generator
Fill any closed polyline with Voronoi cells – exact spacing, edge distance and rounding, live preview.

See Voronoi Generator$24.90

AUTODIM for AutoCAD - product box
Automatic Dimension — AutoCAD Add-in
AUTODIM
Length on every line, polyline and arc you select – as a real dimension or as text, with the layer name above it. Break at turns, at crossings, or total a whole object including its bends.

See AUTODIM$29

Contour Generator turning Google Earth ground into survey contour lines, a 3D terrain model and a printed contour sheet
WEB TOOL — NOTHING TO INSTALL
KIM Contour Generator
Draw a field in your browser, or import a KML from Google Earth, and get survey contours in a minute — scaled PDF, DXF in real UTM, plus STEP and STL of the terrain.

See Contour Generator$60

This tool is part of our free AutoCAD LISP collection — 20+ routines, all free, all tested on real projects.