eplisp

Delete From Layouts

eplisp, the free multilingual LISP library

Delete From Layouts
The author does not allow redistribution; download the file from the author's own site.
…
Rate this tool:
CommandsDFLDFAL
CategoryPlotting
AuthorLee Mac
SourceLee Mac Programming
LicenseAuthor's terms of use
Version1.0
RequirementsAutoCAD (full version); the author lists it as AutoCAD LT compatible (LT runs LISP from release 2024). Not for AutoCAD for Mac.
Prompt languageEnglish
Added2026-10-26
Go to the author's page ↗

Deletes objects matching a selection in the current layout from chosen layouts or from every paper space layout in the drawing in one step.

Delete From Layouts is an AutoLISP program by Lee Mac for cleaning up repeated objects in multi-sheet drawings. It helps when an old note, logo or stamp copied to every layout has to be removed from all sheets.

Overview

DFL asks for objects in the current layout, then shows a list box of target layouts; matching objects are deleted from the chosen layouts and the current one. DFAL deletes objects matching the selection from every paper space layout without asking.

Two objects count as a match when they have the same type, the same layer, colour, linetype and lineweight, and the same bounding box. This works in most cases, but there is a small chance that a different object with the same properties in exactly the same place is also deleted.

How to use it

  1. Download the LSP file from the author's page and load it in AutoCAD with APPLOAD.
  2. In a drawing with more than one layout, switch to a layout tab.
  3. Type DFL for chosen layouts or DFAL for all layouts.
  4. Select the objects to delete; with DFL tick the target layouts in the list.

Notes and limitations

  • The program deletes objects, and DFAL does not ask for confirmation. Check the result and use UNDO if needed.
  • Matching is based on type, basic properties and bounding box, so visually different objects with the same extents may also be deleted.

Source and license

This tool is not made by eplisp. The description on this page is written by us; get the file and its latest version from the author's page.

Free for personal or in-house use; redistribution needs the author's written consent, so we do not host the file and link to the author's page instead.

References

  1. Lee Mac Programming (author's page) – https://www.lee-mac.com/deletefromlayouts.html
  2. Author: Lee Mac – https://www.lee-mac.com/
  3. License: Author's terms of use – https://www.lee-mac.com/terms.html

Found a mistake, or are you the author of this tool? Request a correction or removal