& Construction

Integrated BIM tools, including Revit, AutoCAD, and Civil 3D
& Manufacturing

Professional CAD/CAM tools built on Inventor and AutoCAD
Integrated BIM tools, including Revit, AutoCAD, and Civil 3D
Professional CAD/CAM tools built on Inventor and AutoCAD
You're describing an acaddoc.lsp file which loads each time a drawing is opened. An acad.lsp normally loads when AutoCAD opens but can also be set to open each time a drawing opens. As they're for user's custom code they're not installed with AutoCAD but are often added by the company you work for. They would need to be in a Trusted Folder and are generally in the Support File Search Path as well.
Thanks.
I assume you mean acadxxxxdoc.lsp (where xxxx=version year).
Should that file be moved to a directory outside of the AutoCAD installation so that reinstalling or upgrading AutoCAD does not eradicate it?
Hi,
the file is located where the user saved this file.
If no user saved such a file, there is no file.
If you want to have one, to add your own custom stuff, you got good links.
As mentioned above, you should create an acaddoc.lsp file
and save the file in a folder for all your custom stuff.
In Options / Files /
Add this folder as support file path
and as trusted location path.
Sebastian
On the AutoCAD command prompt enter the following to see if the following files exist. If they do AutoCAD will show you where they’re located:
(findfile "acaddoc.lsp")
(findfile "acad.lsp")
How to buy
Privacy | Do not sell or share my personal information | Cookie preferences | Report noncompliance | Terms of use | Legal | © 2025 Autodesk Inc. All rights reserved
Type a product name