AutoCAD LISP Catalog

157 verified routines

A curated collection of widely-used AutoLISP routines. Each entry links directly to the original author’s site where you can review and download the source code.

Browse by Category

All Routines (157 shown)

Viewport Outline (VPOutline)
VPOL / VPOA
Automatically draws a polyline outline around every viewport in the current layout. VPOA applies the operation to all layouts at once.
by Lee Mac · Freeware↗
Modelspace to Paperspace (MS2PS)
MS2PS
Copies modelspace objects into the current paperspace layout through an active viewport.
by Lee Mac · Freeware↗
Script Writer
SCRIPTWRITER
Generates a script file that runs the same AutoCAD commands across every DWG in a chosen folder.
by Lee Mac · Freeware↗
Batch Find & Replace Text (BFind)
BFIND
Batch find-and-replace across Text, MText, attributes, and dimension overrides. Supports multiple search terms at once.
by Lee Mac · Freeware↗
Incremental Numbering Suite (NumInc)
NUMINC
Inserts incremental numbers with configurable prefix, suffix, and padding into Text, MText, attributes, dimensions, or multileaders.
by Lee Mac · Freeware↗
Layout Field
LF
Inserts a field expression into the selected annotation that references the current layout name, index, or total layout count.
by Lee Mac · Freeware↗
Elevation Marker
ELEV
Places polyline markers with a text label that reports the UCS Y-coordinate of the picked point, in continuous placement mode.
by Lee Mac · Freeware↗
Copy or Swap Text
CT
Copies text content from one annotation object to another, or swaps contents between two selected objects.
by Lee Mac · Freeware↗
Text2MText
T2MT
Converts selected single-line Text objects into MText while preserving layer, style, and height properties.
by Lee Mac · Freeware↗
Associative Textbox
ATB
Creates a rectangular box linked to a text object; the box resizes automatically when the text content changes.
by Lee Mac · Freeware↗
Background Mask
MASK
Dialog-based batch control of background mask, offset, and color settings for MText, multileaders, and dimensions.
by Lee Mac · Freeware↗
Align Text to Curve
ATC
Dynamically distributes text along a selected curve (line, polyline, arc, spline, etc.) at even spacing.
by Lee Mac · Freeware↗
Length at Midpoint
MIDLEN
Inserts a field-based MText at the midpoint of the selected object that reports the object's length.
by Lee Mac · Freeware↗
Align Text
ALIGNTEXT
Aligns multiple Text or MText objects to a common baseline while compensating for their original positions.
by Lee Mac · Freeware↗
Strikethrough Text
STRIKETHROUGH
Applies strikethrough formatting to selected Text or MText objects.
by Lee Mac · Freeware↗
Label
LABEL
Creates dynamically aligned MText labels on selected objects, with real-time control over orientation and offset.
by Lee Mac · Freeware↗
AutoDim (autodim.lsp)
AD
Automatically dimensions selected lines, polylines, and arcs using dialog options such as placement direction.
by CADTutor Community · Freeware↗
Text Operation
TOP
Applies arithmetic, exponent, min, or max operations to numeric values inside Text, MText, or attribute objects and replaces them with the result.
by CADTutor Community · Freeware↗
Layer Director
LDON / LDOFF
Automatically switches to a designated layer when specific commands run and restores the original layer afterward. Includes an Xref-dependent layer auto-assignment option.
by Lee Mac · Freeware↗
Layer Extractor
LAYEREXTRACT
Batch-extracts layer data (name, color, linetype, etc.) from multiple DWG files into CSV, XML, or text output.
by Lee Mac · Freeware↗
Layers to Drawings
LAYERSTODRAWINGS
Splits each layer of the current drawing into its own separate DWG file.
by Lee Mac · Freeware↗
Batch Attribute Editor (BATTE)
BATTE
Dialog-driven batch search and edit of block attribute values across multiple DWG files.
by Lee Mac · Freeware↗
Global Attribute Extractor & Editor (MacAtt)
MACATT
Extracts block attributes from every DWG in a folder into Excel, then writes edits back into the source files.
by Lee Mac · Freeware↗
Automatic Block Break
ABB
Automatically trims neighboring drawing entities around a block's bounding box to clean up the insertion area.
by Lee Mac · Freeware↗
Block Counter
COUNT
Counts standard and dynamic block references in a drawing and outputs totals to the command line, a CSV file, or an AutoCAD table.
by Lee Mac · Freeware↗
Dynamic Block Counter
DCOUNT
Counts dynamic block references grouped by each unique parameter variation.
by Lee Mac · Freeware↗
Automatically Label Attributes
LABELATT
Assigns sequential unique labels to selected attributed blocks or multileaders and renumbers them automatically on add or delete.
by Lee Mac · Freeware↗
Attribute Modification Suite
MVATT / ROATT / EDATT
Batch edits the position (MVATT), rotation (ROATT), or value (EDATT) of block attributes that share the same tag.
by Lee Mac · Freeware↗
Import Block
IMPORTBLOCK
Dialog tool for importing block definitions from external DWG files into the current drawing.
by Lee Mac · Freeware↗
Burst Upgraded
PBURST / NBURST
Explodes blocks like AutoCAD's BURST while preserving attribute text values. NBURST handles nested blocks recursively.
by Lee Mac · Freeware↗
Update Titleblock Attributes
UTB
Reads a CSV spreadsheet and updates titleblock attribute values across the drawing automatically.
by Lee Mac · Freeware↗
Copy or Rename Block Reference
COPYBLOCK
Copies a single block reference within the current drawing, or renames its definition.
by Lee Mac · Freeware↗
Delete Blocks
DELETEBLOCKS
Deletes every block reference in the drawing that matches the selected block names.
by Lee Mac · Freeware↗
Block Overkill
BOVERKILL
Detects and removes duplicate block references sharing the same insertion point within tolerance. Xrefs are skipped.
by CADTutor Community · Freeware↗
GATTE2 — Global Attribute Edit with Layout Selection
GATTE2
Extends AutoCAD's GATTE with a layout selection option, letting you apply global attribute edits only to chosen layouts.
by SteveK (CADTutor) · Freeware↗
Align Objects to Curve
OA
Dynamically places objects along a selected curve (line, polyline, arc, circle, etc.) and auto-rotates them tangent to the path.
by Lee Mac · Freeware↗
Quick Mirror
QM
Mirrors objects quickly using only a single reference point to define the mirror axis.
by Lee Mac · Freeware↗
Segment Curve
SEGS
Converts arcs, circles, ellipses, splines, and other curves into a polyline of straight segments using a user-defined division count.
by Lee Mac · Freeware↗
Polyline Outline (Advanced)
POLYOUTLINE
Core function library for generating the outline of selected LWPolylines. Supports arc and elliptical-arc segments.
by Lee Mac · Freeware↗
Object Break
OB
Splits a selected object at two picked points or at intersections with other objects, and can change the properties of the broken segment.
by Lee Mac · Freeware↗
Multiline Justification
MLJUST
Changes the justification (top, zero, bottom) of multiline objects without shifting their on-screen position.
by Lee Mac · Freeware↗
Multi-Polyline
MPL
Creates multiline-like geometry using standard polylines, avoiding the editing limitations of true multiline objects.
by Lee Mac · Freeware↗
Circular Wipeout
CWIPE
Creates a circular wipeout instantly from a picked center point and radius.
by Lee Mac · Freeware↗
Selection Counter
SELCOUNT
Counts objects in the current selection set grouped by type and prints the totals to the command line.
by Lee Mac · Freeware↗
Dynamic Information Tool (DInfo)
DINFO
Displays layer, coordinate, length, area, and other properties of the object under the cursor in real time as you move the crosshair.
by Lee Mac · Freeware↗
Length & Area Field
LF / AF
Inserts a field expression into an annotation that reports the cumulative length (LF) or summed area (AF) of the selected objects.
by Lee Mac · Freeware↗
Total Length & Area
TLEN / TAREA
Prints the total length (TLEN) of selected lines/polylines/arcs or the total area (TAREA) of closed objects to the command line.
by Lee Mac · Freeware↗
Polyline Information
POLYINFO
Outputs each LWPolyline segment's number, start point, end point, length, and bulge to an AutoCAD table, text block, or CSV file.
by Lee Mac · Freeware↗
Area Label
AREALABEL
Places an area label at the centroid of each selected closed boundary and auto-adds a corresponding row to an AutoCAD table.
by Lee Mac · Freeware↗
Multiline Total Length
(run after APPLOAD)
Calculates the total length of selected multiline objects grouped by style and scale, and inserts the result as MText.
by CADTutor Community · Freeware↗
Label Pline Intersected Point
INT
Places a block label at the intersection of two polylines and marks it with an identifying character.
by CADTutor Community · Freeware↗
Cursor Rotate
CR
Rotates the AutoCAD crosshair to match the tangent or normal of a picked object, or to a typed angle.
by Lee Mac · Freeware↗
Reset XRef Layers
RESETXREFLAYERS
Resets all Xref-dependent layer properties (color, linetype, visibility, etc.) back to the values in the source Xref drawing.
by Lee Mac · Freeware↗
Copy to XRef
C2X
Copies selected objects into the source drawing of a target Xref without opening the source file.
by Lee Mac · Freeware↗
XREF Open by Pick
XO
Opens the source DWG of any Xref directly in AutoCAD when you pick it in the drawing.
by CADTutor Community · Freeware↗
XREF Detach by Pick
XRX
Detaches an Xref from the current drawing immediately when you pick it.
by CADTutor Community · Freeware↗
Steal from Drawing
STEAL
Dialog-driven utility for pulling named objects (layers, blocks, text styles, dimension styles, etc.) from another DWG into the current drawing.
by Lee Mac · Freeware↗
Copy to Drawings
C2DWG
Batch-copies selected objects into multiple DWG files without opening any of the targets.
by Lee Mac · Freeware↗
TabSort
TABSORT
Sorts layout tabs alphabetically, numerically, or by drawing order, with support for renaming and adding prefixes or suffixes.
by Lee Mac · Freeware↗
Delete From Layouts
DELFROMLAYOUTS
Batch-deletes selected objects from all layout tabs or from a specified subset.
by Lee Mac · Freeware↗
Field Formatting Code
FF
Displays the formatting code of a selected field object in the command line for reuse with identical formatting.
by Lee Mac · Freeware↗
LISP Command Logger
LISPLOGON / LISPLOGOFF
Reactor-based background tool that automatically logs LISP command usage to a CSV file organized by drawing and date.
by Lee Mac · Freeware↗
Get Syntax
GETSYNTAX
Parses a given LISP file and lists every defined command (defun c:) and function.
by Lee Mac · Freeware↗
Autoloader
AUTOLOADER
Automatically generates autoload expressions for selected LISP files and integrates them into acaddoc.lsp.
by Lee Mac · Freeware↗
Drawing Version
DRAWINGVERSION
Prints the AutoCAD version in which the current drawing was last saved to the command line.
by Lee Mac · Freeware↗
Multiple Toggles
(library function)
DCL library for building grouped toggle-checkbox dialogs in AutoLISP; two lines of code create a multi-selection UI.
by CADTutor Community · Freeware↗
Piping/Ducting for HVAC
PIPE / HVAC
Draws 2D HVAC ducts, pipes, and branches from diameter and shape inputs, auto-inserting elbows and fittings.
by CADTutor Community · Freeware↗
2D Steel Pipe (Pipe V3)
PIPE / PP
Dialog-based tool for generating 2D steel pipe drawings by selecting schedule, diameter, and shape (elbow, return, tee).
by ROBP (CADTutor) · Freeware↗
3D Pipe Creator
3DPIPE
Automatically generates 3D solid pipes along a polyline path using a user-specified diameter.
by ASME (CADTutor) · Freeware↗
Block Manager (AfraLISP)
BLKMAN
Manages favorite blocks through an INI-driven dialog with slide thumbnail previews before insertion.
by Kenny Ramage / AfraLISP contributor · Freeware (no warranty)↗
Block and Attribute Tools — Xtract
XTRACT
Scans attribute definitions on selected blocks and generates matching ATTEXT template (.txt) and prompt files in one pass.
by Cadalyst contributor · Freeware↗
Xref2Block
XREF2BLOCK
Promotes Xrefs into internal blocks of the current drawing (a bind-style conversion) for easy single-file delivery.
by Tim Willey (The Swamp) · Freeware (forum post)↗
Polylines and Blocks tutorial routine (AfraLISP)
PL2BLK
Educational routine that extracts polyline boundaries and automatically defines and inserts them as blocks, useful for converting complex profiles.
by Kenny Ramage · Freeware (tutorial)↗
Multi-Leader with Block Name
MLB
Picks a block reference and auto-generates a multileader whose text contains the block's name.
by Alan Thompson (The Swamp) · Freeware (forum post)↗
Block Count / BOM Helper
BCOUNT
Standard utility for counting block references by name to support BOM (Bill of Materials) generation.
by Cadalyst Hot Tip Harry contributor · Freeware↗
Force Block to Specific Layer
FIXBLKLAYER
Forces the internal entities of inserted blocks onto a specified layer (or layer 0) to align with drawing standards.
by Cadtips contributor · Freeware↗
Redefine Block on Re-insertion
REDEFBLK
Automatically updates existing block definitions when an external DWG of the same name is reinserted.
by AfraLISP tutorial · Freeware↗
Layer List Report
LAYLIST
Collects layer names, colors, and linetypes from the current drawing and outputs the list to the command line or a file.
by AfraLISP Visual LISP tutorial · Freeware↗
Layer Match-by-Pick
LMATCH
Changes the layer of multiple picked objects to match a reference object's layer (LISP equivalent of Express LAYMCH).
by The Swamp contributor · Freeware↗
Copy To Layer
CPYTOL
Duplicates selected objects onto a specified layer while keeping the originals, handy for version comparisons or revision history.
by Cadtips contributor · Freeware↗
Layer Isolate by Pick (pre-Express)
LISO
LISP implementation of layer isolation — keeps the picked object's layer on and turns everything else off for quick drawing review.
by The Swamp contributor · Freeware↗
Get Layer and Linetype
GLL
Returns the layer and linetype of a picked object in a single line, useful for standards checks and debugging.
by Cadtips contributor · Freeware↗
Freeze Layer by Pick
FZP
Lightweight routine that freezes the layer of a picked object immediately to declutter the view.
by Cadalyst Hot Tip Harry · Freeware↗
Layer Previous (pre-Express LAYERP)
LAYP
Simple rollback utility that restores the previous layer state (on/off/freeze/color) in a single command.
by Hot Tip Harry contributor · Freeware↗
Layer Delete with Purge
LAYDEL
Cleanup routine that moves or erases all objects on a specified layer and then removes the layer itself.
by Cadtips contributor · Freeware↗
Ordinate Dimensioning Enhanced
ORDIM
Improves AutoCAD's DIMORD with better datum control and column alignment for mechanical ordinate dimensioning.
by Cadtips contributor (Tip #2138) · Freeware↗
Dimension Associativity Fix
DIMFIX
Re-associates detached dimension text with its parent dimension object so measurement updates work again.
by Hot Tip Harry contributor · Freeware↗
DIMLFAC Watcher
DIMWATCH
Detects and warns about changes to DIMLFAC (dimension scale factor) to prevent mixed-scale mistakes across parts.
by Cadtips contributor · Freeware↗
Leader Modification (LENDR)
LENDR
Interactively adjusts an existing leader's endpoint, arrowhead, and text offset for quick cleanup.
by Cadtips contributor · Freeware↗
Line Bearing and Distance Label
BEARD
Auto-annotates selected line or polyline segments with length and bearing, useful for marking axes on mechanical layouts.
by AfraLISP / community reshare · Freeware↗
Text Height Global Fix
TXTHFIX
Uniformly updates text height across the whole drawing or a specified layer to match plot scale.
by Hot Tip Harry contributor · Freeware↗
Incremental Number Text
NUMINC
Places an incrementing number (with optional prefix) at each pick location — useful for balloons and item-table numbering.
by Cadalyst contributor (original: similar concept to Lee Mac "Numinc") · Freeware↗
Custom Breakline (LSB)
LSB
Dialog-based mechanical breakline routine offering two styles: solid round bar and hollow tube.
by Cadalyst "Get the Code" 2004-04 · Freeware↗
Batch Plot from List
BPLOT
Batch-plots DWG files listed in a text file using a specified plot configuration — ideal for BOM and assembly drawing releases.
by Hot Tip Harry contributor · Freeware↗
Arc Arrow
ARCARROW
Attaches an arrowhead to the end of an arc or polyline to indicate rotation or curve direction.
by Cadtips contributor · Freeware↗
Toggle Menu Bar
MBTOG
Single-command UI toggle for the classic menu bar, letting you flip it on or off without changing the workspace.
by Cadtips contributor · Freeware↗
Plot Stamp Updater
PSTAMP
Metadata stamp that auto-writes path, filename, and date into an annotation block outside the drawing border just before plotting.
by Hot Tip Harry contributor · Freeware↗
Polyline Cumulative Length at Vertex
PLCUM
Labels each polyline vertex with the cumulative length from the start point as a measurement annotation.
by Community share (Superior Shop Drawings / Hot Tip Harry redistribution) · Freeware↗
Break at Distance
BRKDIST
Automatically breaks a selected object at a point located a given distance along it for accurate splits and insertions.
by Alan Thompson (The Swamp) · Freeware↗
Break Line Through Plane
BRKPLN
Breaks every line and polyline that crosses a specified reference plane in one step — useful for section and cut views.
by Chen Qing Jun (The Swamp) · Freeware↗
Explode with Attributes Kept (Burst replacement)
BURSTL
Explodes blocks while preserving attribute values as plain text (LISP implementation of Express BURST).
by Hot Tip Harry contributor · Freeware↗
Redefine Commands Wrapper
REDEF
Template for redefining standard AutoCAD commands (e.g., ERASE, LINE) by wrapping them with pre-processing logic.
by AfraLISP tutorial · Freeware↗
Align Text to Object
TXTALIGN
Rotates and aligns selected text to match the angle of a reference line or arc, keeping annotation angles consistent.
by Hot Tip Harry contributor · Freeware↗
Object Collections by Type
COLLBYTYPE
Tutorial routine that collects only specific DXF entity types (LINE, CIRCLE, INSERT, etc.) into a selection set.
by AfraLISP · Freeware↗
Quick Select by Layer+Color
QSLC
Runs QSelect with a combined layer-and-color filter in one step, turning repetitive filter criteria into a macro.
by The Swamp contributor · Freeware↗
Polyline Area Report
PAREA
Reports individual and summed areas of selected closed polylines to the command line and to a file — useful for sheet-metal unfolds and gasket calcs.
by Hot Tip Harry contributor · Freeware↗
Coordinate Dump
CDUMP
Exports X/Y/Z coordinates of selected points or vertices to CSV for use with external measurement or inspection tools.
by Cadtips contributor · Freeware↗
Distance Between Two Blocks
BLK2BLK
Measures the distance between two block reference insertion points and writes the result as text into the drawing.
by The Swamp contributor · Freeware↗
UCS by 3 Points Quick
U3P
Simple wrapper that resets the UCS from three picked points — handy for aligning the work plane on tilted parts.
by AfraLISP tutorial · Freeware↗
UCS Reset to World
UW
Single-letter shortcut that resets the UCS back to World — a quick reset while switching between multiple views.
by Hot Tip Harry contributor · Freeware↗
Xref Binder
XBIND2
Binds Xrefs (INSERT-style) without name conflicts to consolidate delivery DWGs into a single file.
by The Swamp contributor · Freeware↗
Xref Path Fix
XPATH
Batch-repoints broken Xref paths to the current folder or to relative paths — useful for recovering after a project move.
by Hot Tip Harry contributor · Freeware↗
BrowseForFolder (Shell Dialog)
BROWSEDIR
Well-known utility that calls the OS standard folder-picker dialog from AutoLISP, giving path input a proper GUI.
by Tony Tanzillo · Freeware↗
Catalog LISP Routines
CATLISP
Reads the first comment line of every .lsp file in the current folder and writes a summary list to FILEREAD.TXT.
by Cadtips contributor · Freeware↗
LISP Manager Dialog
LSPMGR
Tabular dialog listing LSP files in a directory alongside their descriptive comments — useful for managing in-house libraries.
by Jeffery Sanders (Cadtips) · Freeware↗
Command Library (CCC)
CCC
Dialog listing every custom command defined in currently loaded LSP files, so you can see which routines are live.
by Cadtips contributor · Freeware↗
Profile Import/Export
PROFIO
Exports and imports AutoCAD user profiles (ARG) directly from LISP, no scripts required.
by AfraLISP tutorial · Freeware↗
Delay Routine
DELAY
Pauses a script or macro for a given number of milliseconds — used for timing control in plots and slideshows.
by Cadtips contributor · Freeware↗
Increment / Decrement Helpers
INCR / DECR
Reusable increment-by-one and decrement-by-one helper functions — building blocks for iterative numbering utilities.
by Cadtips contributor · Freeware↗
List Manipulation Helpers
(library function set)
Tutorial-level list utilities (union, difference, flatten) that form foundational building blocks for in-house custom routines.
by AfraLISP · Freeware↗
System Variable Saver
SVARS
Template that snapshots current system variables and restores them on exit, preventing pollution of the user environment.
by AfraLISP tutorial · Freeware↗
Error Trap Template
*ERROR*
Common LISP error handler that automates UNDO marks and sysvar restoration so state stays clean when users cancel.
by AfraLISP / The Swamp common idiom · Freeware↗
DXF Code Reader
DXFRD
Prints the DXF group-code pair list of a selected entity — useful for debugging when developing custom routines.
by AfraLISP tutorial · Freeware↗
Polyline to Line/Arc Conversion
PL2LA
Explodes LWPOLYLINE objects into individual LINE and ARC entities and regroups them — prep work for legacy CAM post-processors.
by Hot Tip Harry contributor · Freeware↗
Text to MText / MText to Text
T2MT / MT2T
Converts single-line text to multiline text and vice versa, resolving editor-preference differences.
by Cadtips contributor · Freeware↗
TotalLayouts
TOTALLAYOUTS (auto reactor setup)
Reactor-based routine that records the drawing's total layout count as an auto-updating field variable whenever layouts are added or removed.
by ARKANCE CZ / CAD Studio (CADstudioCZ) · Freeware (no repo LICENSE; official site terms apply)↗
mPDFimport
MPDFIMPORT
Multi-page PDF import utility that brings every page of a PDF into AutoCAD at once — useful when converting a PDF into layout sheets.
by CADstudioCZ · Freeware↗
profiles.lsp
(user-profile management functions)
Utility for scripting AutoCAD user profiles (register, switch, export, import) — useful for multi-PC rollouts and environment replication.
by JTB World (Jimmy Bergmark) · Freeware↗
vp-outline.LSP
VPOUTLINE
Routine that duplicates the outline of a selected viewport into modelspace as a polyline — handy for mapping regions between layout and model.
by JTB World · Freeware↗
0 - Title Block Update.lsp
(multiple release commands)
Batch-updates titleblock attributes (project number, drawing number, revision, etc.) across many drawings at once.
by alexeispirit · License unspecified (public repository)↗
SelectSimilar (extended)
SELECTSIMILAR (extended)
Extended version of the stock SelectSimilar, written to work around its limitations and function in AutoCAD LT and the Web App.
by CADstudioCZ · Freeware↗
AreaText.lsp (AT / ATC / ATM)
AT, ATC, ATM
Inserts polyline, hatch, or object area (or length/perimeter) into the drawing as a text field. ATC places the text at the geometric centroid; ATM places it at the bounding-box center of multiple selections.
by JTB World · Freeware↗
LengthText.lsp
LENGTHTEXT
Reads the length of lines and polylines and places a text label in the current unit system — useful for quantity and material takeoffs.
by JTB World · Freeware↗
DIM_TO_EQ.LSP
DIM2EQ
Bulk-replaces measured dimension values with "EQ" (equal) — quick handling of repeated equal-spacing annotations on railing, window, and stair drawings.
by jdsandifer (J. D. Sandifer) · License unspecified↗
Sum of selected dimensions LISP
(name varies by release)
Sums the measurement values of selected dimension objects and outputs the total to the command line or as text — rough material-size estimation.
by officedocworks blog (Korea) · Personal blog release (freeware)↗
Area Calculation LISP
(user-defined)
Computes the area of a closed region and places it as text at a specified location — simple area tables for real-estate or architectural drawings.
by officedocworks blog · Blog release↗
MLEADER Leader Input LISP
MLEADER wrapper
Helper routine that auto-sets multileader text and style for consistent annotation placement.
by officedocworks blog · Blog release↗
Layer ON/OFF LISP
LAYON, LAYOFF (user-defined)
Bundled Korean-practice routine that turns selected layers on/off, turns all layers on, and sets the current layer — in one package.
by officedocworks blog · Blog release↗
layer-lw-list.LSP
LAYERLWLIST
Outputs a table of each layer and its lineweight into the drawing — used for drafting-standard audits.
by JTB World · Freeware↗
layer-list.LSP
LAYERLIST
Extracts layer name, color, on/off, and freeze state as a text list — suitable for external review submissions.
by JTB World · Freeware↗
MatchSel
MATCHSEL
Reverse of MatchProp — takes the color, layer, and linetype from a selected entity and applies them as the current settings for new objects.
by CAD Forum (ARKANCE CZ) · Freeware↗
CountV1-5.lsp (BlockCounter)
BCOUNT
Counts static and dynamic blocks within a selection or the whole drawing and outputs to the command line, CSV, or an AutoCAD table — wraps Lee Mac's routine.
by Lee Mac (original author) / fbrandao2k (redistribution collection) · Lee Mac personal license (non-commercial, attribution)↗
0 - Load blocks.lsp (CIVIL)
LOADBLOCKS
Registers a project standard block library (drainage, manholes, road symbols) into a drawing in one pass to speed up initial setup.
by dtgoitia (David Torralba Goitia) · MIT↗
STRUCTURAL - Create building blocks.lsp
CREATEBB
Auto-generates structural blocks (column and beam location symbols) from a plan drawing, for civil/structural workflows.
by dtgoitia · MIT↗
Block Alignment/Array LISP (ALIX/ALIY)
ALIX, ALIY
Aligns and evenly arrays selected blocks along the X or Y axis — useful for mechanical BOM layout and drawing cleanup.
by officedocworks blog · Blog release↗
Txt2Ref.LSP
TXT2REF
Replaces drawing text with a block reference of the same name — used when converting tags or part labels into block-based references.
by CADstudioCZ · Freeware↗
FlipCen
FLIPCEN
Mirrors selected objects about their own center along the horizontal, vertical, or Z axis — no separate center point needed.
by CAD Forum (ARKANCE CZ) · Freeware (VLX release)↗
0 - Explode polyline.lsp
EXPLODEPL
Explodes polylines into constituent segments and distinguishes arcs from lines so each type can be routed to a different layer.
by alexeispirit · Unspecified↗
STRUCTURAL - Live offset.lsp
LIVEOFFSET
Dynamically previews offset distance against a reference object in real time — used for structural layout studies.
by dtgoitia · MIT↗
turn-or-break-line
TURNBREAK
Automatically breaks or rotates lines at intersections with other lines — automates crossing notation for electrical and piping drawings.
by Mr-Saxobeat · Unspecified↗
ScaleArea.LSP
SCALEAREA
Scales a polygon proportionally to match a target area value — useful when a plot or plan area must hit a specific number.
by CADstudioCZ · Freeware↗
SR (SelectSimilar Korean wrapper)
SR
Invokes SelectSimilar via a single-letter shortcut `SR` — a macro-style LISP commonly shared on Korean practitioner blogs.
by ansenchoi · Blog release↗
tlen.lsp
TLEN
Sums the total length of selected lines, polylines, arcs, and splines and prints it to the command line. Works in AutoCAD and BricsCAD.
by fbrandao2k · Unspecified (public)↗
MEASURE.LSP
MEAS
Computes distance, angle, and X/Y components between two points in one call and outputs the result as text — useful for recording as-built railing dimensions.
by jdsandifer · Unspecified↗
CenOf.LSP
CENOF
Reports or extracts the XY or XYZ center point (or osnap center) of selected objects.
by CADstudioCZ · Freeware↗
COG3D.LSP
COG3D
Computes and marks the center of gravity of 3D solids and regions — used for weight calculations and assembly balance studies.
by CADstudioCZ · Freeware↗
STRUCTURAL - Coordinate table.lsp
COORDTABLE
Generates a table of X, Y, Z coordinates from selected point objects automatically — used for survey and structural base-point listings.
by dtgoitia · MIT↗

All routines are copyright their respective authors. Download and review source code directly from the author’s site. External links are subject to the destination site’s terms.

Bookmark this site!
PC: Ctrl + D
Mobile: Browser menu → Add bookmark