Save the new/modified file and open a new drawing in AutoCAD to automatically load it. On a new line in the acaddoc.lsp, enter the desired load or autoload expressions to load your custom programs, e.g.: (load "MyProgram.lsp" "MyProgram.lsp failed to load.") If the above expression returns nil, open Windows Notepad (or other plain text/code editor), and create a new acaddoc.lsp in a Trusted AutoCAD Support File Search Path. If this returns a valid filepath, in the steps that follow, navigate to the filepath and open & modify the existing acaddoc.lsp using Windows Notepad or other plain text editor. To do this, open AutoCAD to a new blank drawing, and type at the AutoCAD command-line: (findfile "acaddoc.lsp") To load programs using the acaddoc.lsp, perform the following procedure:Ĭheck whether or not an acaddoc.lsp already exists. Assuming that you are using the Startup Suite as part of the APPLOAD command dialog to automatically load your 'Startup' LISP program (which then subsequently loads other program files), I would instead suggest using the acaddoc.lsp file to automatically load your programs, as this is a far more reliable loading method.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |