Download Free AutoLISP Scripts (70+ Powerful Tools for AutoCAD Productivity)
Looking to supercharge your AutoCAD workflow? This ultimate collection of free AutoLISP scripts from CADAuthority is designed to automate repetitive tasks, improve drawing accuracy, and save hours of manual work.
Each script includes a clear command name, so you know exactly what to type after loading it.
How to Use AutoLISP Scripts in AutoCAD
Before downloading, here’s how to install and run any LISP file:
- Type APPLOAD in AutoCAD
- Select the downloaded .lsp file
- Type the Command Name shown below
- Press Enter to run
Tip: Add scripts to your Startup Suite for automatic loading every time AutoCAD starts.
Essential AutoLISP Scripts for Everyday CAD Tasks
- IncrementalNumbering.lsp (Command: INCNUM) Automatically generates sequential numbers or letters as you click in the drawing. Perfect for labeling grids, parking spaces, or equipment layouts.
- TotalLength.lsp (Command: TOTLEN) Calculates the total length of selected lines, arcs, and polylines and displays the result instantly—ideal for quantity takeoffs.
- TotalArea.lsp (Command: TOTAREA) Sums the area of multiple closed polylines and displays the result in a dialog box, saving time in architectural and land calculations.
- BreakAll.lsp (Command: BRKALL) Breaks all selected objects at every intersection point automatically, preparing geometry for trimming, analysis, or cleanup.
- JoinAll.lsp (Command: JOINALL) Connects all touching lines and arcs into continuous polylines globally, reducing fragmented geometry.
- FlattenZ.lsp (Command: FLATZ) Sets all Z-coordinates to zero to eliminate “not coplanar” errors and ensure clean 2D drawings.
- FilletZero.lsp (Command: FZ) Instantly fillets two lines with a radius of zero, cleaning corners in a single click.
- OverkillLite.lsp (Command: OKL) Removes duplicate and overlapping objects faster than the standard OVERKILL command.
Drawing, Geometry & Editing Tools
- CenterlineDraw.lsp (Command: CLD) Automatically draws a centerline between two selected lines, whether parallel or not.
- CircleToPolyline.lsp (Command: C2P) Converts circles into closed polylines made of arc segments for better editing and compatibility.
- SplineToPoly.lsp (Command: S2P) Converts splines into high-precision polylines, useful for CNC workflows or legacy systems.
- ChamferMulti.lsp (Command: CHMALL) Applies a uniform chamfer to every corner of a selected polyline in one operation.
- TangentDraw.lsp (Command: TANDRAW) Draws a line tangent to two selected circles or arcs automatically.
- ReversePolyline.lsp (Command: REVPL) Reverses polyline direction—especially useful for directional linetypes.
- PolyWidthChange.lsp (Command: PLW) Changes the width of selected polylines globally to maintain consistency.
- PathCopy.lsp (Command: PCOPY) Copies objects along a curved polyline path at defined intervals—ideal for repetitive elements.
Blocks & Attributes Management
- BlockReplace.lsp (Command: BLKREP) Replaces all instances of one block with another while preserving scale, rotation, and insertion points.
- BlockCounter.lsp (Command: BLKCNT) Counts all block instances and generates a report or table.
- BurstAll.lsp (Command: BURSTALL) Explodes blocks while converting attributes into text. ✔️ Advantage: Works even without Express Tools, replacing the native BURST command.
- AttributeExport.lsp (Command: ATTEXP) Extracts attribute data and exports it to CSV or Excel for reporting or scheduling.
- FindReplaceAttr.lsp (Command: FRATT) Performs global search and replace operations within block attributes.
- RenameBlocksBatch.lsp (Command: RENBLK) DCL-based interface to batch rename blocks using prefixes or suffixes.
- BlockFixZero.lsp (Command: BFZ) Moves all internal block geometry to Layer 0 while preserving block references.
- BlockScaleMaster.lsp (Command: BSM) Rescales multiple blocks individually around their insertion points.
- InsPtMove.lsp (Command: INSPT) Changes block insertion points without moving them in the drawing.
Layer & Drawing Management Tools
- LayerIsoPro.lsp (Command: LISO) Isolates layers by fading others instead of hiding them, improving visual context.
- LockAllLayers.lsp (Command: LOCKALL) Locks all layers except the current one to prevent accidental edits.
- LayerFreezeSelect.lsp (Command: LFREEZE) Freezes layers instantly by selecting objects—no command line needed.
- DeleteEmptyLayers.lsp (Command: DEL0LAY) Removes all unused layers, keeping drawings clean and optimized.
- LayerTranslator.lsp (Command: LTRANSB) Renames layers in batch using a mapping file for BIM standards compliance.
- LayerStateToggle.lsp (Command: LSTOG) Quickly switch between saved layer states via a pop-up interface.
- ColorByLayerFix.lsp (Command: CBLFIX) Forces all objects (including inside blocks) to use ByLayer properties.
- LayerMelt.lsp (Command: LMELT) New Instantly merges all objects from a selected layer into the current layer.
ext, Annotation & Dimension Tools
- TextToMtext.lsp (Command: T2M) Converts multiple single-line texts into one MTEXT object for easier editing.
- TextAlignment.lsp (Command: TXTALIGN) Aligns multiple text objects precisely to a reference.
- TextCaseSwitcher.lsp (Command: TCASE) DCL-based tool to switch text case (UPPER, lower, Title Case).
- MTextClean.lsp (Command: MTCLEAN) Removes formatting overrides from MTEXT to match the current style.
- TextFitToWidth.lsp (Command: TXTFIT) Stretches or compresses text to fit exactly between two points.
- LeadText.lsp (Command: LEADTXT) Creates multileaders with automatic background masking.
- DimReset.lsp (Command: DIMRST) Resets overridden dimension values to their true measurements.
- EasyDim.lsp (Command: EDIM) Automatically dimensions the full perimeter of a polyline.
Data Extraction & Excel Integration
- TableToExcel.lsp (Command: TBL2XLS) Exports AutoCAD tables directly to formatted Excel spreadsheets.
- ExcelToTable.lsp (Command: XLS2TBL) Imports CSV or Excel data and creates AutoCAD tables automatically.
- AreaTable.lsp (Command: AREATBL) Labels multiple areas and generates a summary table with totals.
- ObjectCounter.lsp (Command: OBJCNT) Counts objects within a selected region and generates a report.
- PointImportCSV.lsp (Command: PNTCSV) Imports XYZ coordinates and creates labeled points in the drawing.
Layouts, Viewports & External References
- ViewportLockAll.lsp (Command: VLOCKALL) Locks all viewports across layouts to prevent accidental scaling.
- LayoutRename.lsp (Command: LAYREN) Batch renames layout tabs using prefixes and numbering.
- ZoomAllLayouts.lsp (Command: ZALLLAY) Cycles through layouts and applies Zoom Extents automatically.
- XrefReloadAll.lsp (Command: XRELOAD) Reloads all Xrefs in one click to keep drawings up to date.
- XrefPathFix.lsp (Command: XPATHFIX) New Converts all Xref paths from Full Path to Relative Path instantly—essential for file sharing.
Automation, Cleanup & Performance Tools
- PurgeHard.lsp (Command: PURGEH) Performs deep cleanup, removing unused data and stubborn regapps.
- AutoAudit.lsp (Command: AAUDIT) Runs Audit, Purge, and Zoom Extents automatically before saving.
- HatchToBack.lsp (Command: HTB) Sends all hatches to the back automatically. ✔️ Useful for batch processing or older AutoCAD versions despite native HATCHTOBACK command.
- GreyScaleDraw.lsp (Command: GREY) Converts objects to grayscale for background or reference drawings.
- DrawOrderByColor.lsp (Command: DOCOLOR) Sets draw order based on object color automatically.
- Z-BufferFix.lsp (Command: ZFIX) Slightly offsets objects in Z to eliminate flickering (Z-fighting) in 3D views.
- DrawingVersion.lsp (Command: DWGVER) Adds a timestamp and file path stamp to track drawing versions.
Specialized & Advanced Tools
- CoordinateLabeler.lsp (Command: COORDLBL) Places a leader displaying X, Y, Z coordinates for any selected point.
- SlopeCalculator.lsp (Command: SLOPE) Calculates slope percentage or ratio between two points.
- QuickCloud.lsp (Command: QCLOUD) Creates revision clouds with customizable arc lengths based on scale.
- GridGenerator.lsp (Command: GRIDGEN) Generates customizable coordinate grids over selected areas.
- BoundaryPoly.lsp (Command: BPOLYX) Creates a boundary polyline from a point, even in complex nested areas.
- ArrowHead.lsp (Command: ARROW) Adds directional arrows to lines or polylines.
- LineToPipe.lsp (Command: L2PIPE) Converts a line into a double-line pipe representation with diameter control.
- QuickSection.lsp (Command: QSECTION) Generates simple section lines based on elevation points.
- LabelPolySegments.lsp (Command: LBLSEG) Labels each polyline segment with length and bearing automatically.
- ScaleXY.lsp (Command: SCALEXY) Applies non-uniform scaling with independent X and Y factors.
- ScaleRelative.lsp (Command: SCALEREL) New Scales objects based on a reference length—faster than using SCALE with Reference.
- CurveText.lsp (Command: CURVETXT) Aligns text along arcs or circles for professional annotations.
- LayerWalkDCL.lsp (Command: LWALK) Provides a visual DCL interface to browse layers and preview contents interactively.
Download Free AutoLISP Scripts Now
All these AutoLISP programs are available for free download on CADAuthority.
Boost your productivity, automate repetitive tasks, and transform your AutoCAD workflow with these powerful tools.
Disclaimer
Always test third-party LISP scripts on a copy of your drawing before using them in production environments.
