CADLisp Tools

task category

Data Extraction AutoLISP tools and downloadable LISP routines

Download AutoLISP tools for extracting block attributes, BOM data, lengths, coordinates, and drawing information to usable outputs.

Each tool page includes its CAD command, readable source code, a direct .LSP download, setup instructions, a worked example, and known limitations.

Download and review

5 Data Extraction routines

Search the full AutoLISP library →
Data Extraction4 disciplines

BOM from Block Attributes

Count selected blocks by one chosen attribute value.

⌘ BLOCKBOMAdvancedCAD support: not tested
Updated Sep 18, 2026VIEW TOOL →
Data Extraction4 disciplines

Cable/Route Length

Total selected route polylines and apply an optional allowance percentage.

⌘ CABLELENIntermediateCAD support: not tested
Updated Sep 18, 2026VIEW TOOL →
Data Extraction4 disciplines

Pipeline Length by Layer

Summarize selected polyline length totals grouped by layer.

⌘ PIPELENIntermediateCAD support: not tested
Updated Sep 18, 2026VIEW TOOL →
Data Extraction6 disciplines

Export Block Attributes to CSV

Export selected block names and attribute tag/value pairs to a CSV file.

⌘ ATTCSVAdvancedCAD support: not tested
Updated Sep 18, 2026VIEW TOOL →
Data Extraction3 disciplines

Hole Coordinate Table

Create a simple MTEXT list of WCS circle-center coordinates.

⌘ HOLETABLEIntermediateCAD support: not tested
Updated Sep 18, 2026VIEW TOOL →