
PURGEALL is an AutoLISP plugin for AutoCAD that automates the removal of all unused named objects to optimize drawing file sizes. This utility operates as a command-line script designed for the AutoCAD environment. It functions by iteratively scanning the drawing database to identify and strip away redundant named objects, including nested blocks, orphaned layers, unused linetypes, and various text or dimension styles. By executing a repeated purge cycle, the script ensures that dependencies which were previously hidden or locked by parent-child relationships are successfully cleared. The logic is streamlined to run until the drawing reaches a state of total cleanliness, significantly reducing memory overhead and improving overall performance for complex project files.
The download is a single file containing .LSP files.
To implement this script, load the LSP file directly into your current AutoCAD session using the APPLOAD command. Once loaded, simply type the designated command into the console to trigger the automated sequence. The script runs silently in the background, executing successive purge commands until no further elements can be removed. It is best practice to run this on a backup copy of your drawing to verify the results before finalizing your project documentation or distribution sets.
This tool is essential for architects and engineers managing large, multi-disciplinary drawing sets where legacy data often leads to bloated file sizes. It is particularly valuable during the final stages of a project, such as preparing submission packages, tender documents, or client deliverables. By maintaining lean CAD files, users can ensure faster loading times and smoother performance when collaborating across platforms. It is a standard utility for maintaining drawing health in residential, office, and hospitality design workflows where file management is critical.
PURGEALL Repeated Purge AutoCAD Script
Free
File formats
What changed in 1.0.0
Initial release.
MIT
Attribution: Hydro Engineer (mf4633) — licensed under MIT
Full terms have not been published for this listing. Contact the seller before using it on a commercial project.