
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello.
I'm trying to load an init.lsp file that is located on a network for 30+ CAD users using an ACADDOC.lsp, located in the local support folders.
The idea is to have each user place the ACADDOC.lsp file in their C:\Users\user\AppData\Roaming\Autodesk\AutoCAD 2021\R24.0\enu\Support which will load the init.lsp file located on our server: X:\CAD Management\NCS21\SUPPORT
The init.lsp is meant to change support file paths and system variables. I would like to be able to edit one file without having to reload settings for each user individually.
The code in the ACADDOC.lsp is as follows:
(setq lisp_path “X:\\CAD Management\\NCS21\\SUPPORT”)
(if (findfile (strcat lisp_path "init.lsp"))
(load (strcat lisp_path "init.lsp"))
)
When starting AutoCAD it seems to find the ACADDOC.lsp file, but is not loading the init.lsp.
Any help and suggestions would be appreciated.
Solved! Go to Solution.