How to modify lisp files to enable AutoCAD to load multiple DLLs at once during startup
时间: 2023-11-28 19:50:36 浏览: 68
autocad实用大全
5星 · 资源好评率100%
To modify Lisp files to enable AutoCAD to load multiple DLLs at once during startup, you can follow these steps:
1. Open the Lisp file that loads the DLLs. This file is usually named "acaddoc.lsp" and can be found in the AutoCAD support directory.
2. Add the following code to the Lisp file to load multiple DLLs:
```lisp
(load "mydll1.dll")
(load "mydll2.dll")
(load "mydll3.dll")
```
Replace "mydll1.dll", "mydll2.dll", and "mydll3.dll" with the names of the DLLs you want to load.
3. Save the Lisp file and close it.
4. Start AutoCAD and verify that the DLLs are loaded during startup.
Note: If you receive an error message indicating that AutoCAD cannot find the DLLs, make sure that the DLLs are located in a directory that is included in the AutoCAD support path. To add a directory to the support path, use the "Options" command and navigate to the "Files" tab.
阅读全文