Where is AutoCAD commands file (acaddoc.lsp) stored?

Where is AutoCAD commands file (acaddoc.lsp) stored?

rita.aguiar
Advocate Advocate
17,364 Views
5 Replies
Message 1 of 6

Where is AutoCAD commands file (acaddoc.lsp) stored?

rita.aguiar
Advocate
Advocate

How do I find where the AutoCAD commands are stored?

ACADDOC.LSP where is this file located?

0 Likes
Accepted solutions (1)
17,365 Views
5 Replies
Replies (5)
Message 2 of 6

cadffm
Consultant
Consultant

You can not see AutoCAD-Command definitions, except few Expresstools (not supported).

 

ACAD.lsp and ACADDOC.lsp is a user defined file, it isn't part of the program/install.

If you want to have one, you can create your own.

 

Why do you ask these questions?

Sebastian

0 Likes
Message 3 of 6

rita.aguiar
Advocate
Advocate

I was hoping I could add new commands to it so that they could automatically load when AutoCAD is open.

0 Likes
Message 4 of 6

cadffm
Consultant
Consultant
Accepted solution

Create a new Textfile, save the file as ACADDOC.LSP and save the file in one of your Supportpathes.

(You can create your own folder and add them to the Support pathes. Options/Files/Supportpathes)

 

But there is another option too, Start command APPLOAD and add your lsp files in the StartUp Suite!

 

Command APPLOAD [F1]

and this: http://help.autodesk.com/view/ACD/2018/ENU/?guid=GUID-B38F610B-51FB-4938-BDEC-A0A737F5DB6C

 

 

Sebastian

Message 5 of 6

mc5fan
Advocate
Advocate

I just installed Autocad Electrical and it has an ACCADOC.lsp file in C:\Program Files\Autodesk\AutoCAD 2019\Acadm. Should this file be altered or replaced?

Lee M.
0 Likes
Message 6 of 6

cadffm
Consultant
Consultant

Hi,

 

I am not so familiar with ACADE, but well enough to help you.

 

On this PC, there is no AutoDESK MECHANICAL installation??

I am surprised about about this folder, if it comes with the ACADE install.

(but as i said, i am not familiar with ACADE and i am away from my PC)

 

If MECHanical is also installed:

Do not edit or replace this file, i am sure this folder is not part of your ACADE Supportpathes.

 

Short test, start ACADE and type in: 

(findfile "acaddoc.lsp")<enter>

Is the feedback = nil or a path?

NIL = Thats good, it means that your profile don't load this acaddoc.lsp.

 

 

So if it is nil, create your own personal folder and create your own ACADDOC.lsp there* (local drive with a backup on your server or a USBstick).

Don't forget to add this path to your supportpathes.

Options/Files/Searchpath for Supportfiles..

 

And also you have to add this path to the TrustedFolders, also in Options/Files/..

 

(Findfile "acaddoc.lsp") should find your file then.

 

 

 

*Notepad/Editor, change the extension to .lsp

Thats all. ACADDOC.lsp

 

 

Sebastian