Find or create a file called acaddoc.lsp, and add the following line to it:
(load "lispfilename")
Save the file to a folder similiar to this:
C:\Documents and Settings\Admin\Application Data\Autodesk\AutoCAD Map 3D 2008\R17.1\enu\Support
Registered forum members do not see this ad.
Hi Friends,
How can I appload a lisp file for all drawings in once? Because, now i have to appload the same file, whenever i close and reopen the drwgs, to which the lisp file was already apploaded..
So, Pls tell me good remedy to save the time from this...
Thanks a million in advance
Find or create a file called acaddoc.lsp, and add the following line to it:
(load "lispfilename")
Save the file to a folder similiar to this:
C:\Documents and Settings\Admin\Application Data\Autodesk\AutoCAD Map 3D 2008\R17.1\enu\Support

This is what I did. I placed the lisp file to the support directory of the autocad program. Then I opened the acad.lsp located at the same directory.Under that filename, type load ("filename.lsp"). Hope it works.
acad.lsp is loaded once, when acad starts,
acaddoc.lsp is loaded every time a dwg is opened.
This is the default setting.
Other methods are the suitecase you see in the appload dialog, and to make a mnu file and put the lisp in a mnl file with the same name as the mnu/cui.




Registered forum members do not see this ad.
You can also use Autoload.lsp same as acaddoc.lsp
eg text in file loads lisp files
Code:(autoload "COPY0" '("COPY0")) (autoload "COVER" '("COVER")) (autoload "DRAWXFALL" '("DRAWXFALL")) (autoload "EDITXSECT" '("EDITXSECT")) (autoload "EDITLSECT" '("EDITLSECT")) (autoload "FLIPLINE" '("FLIPLINE")) (autoload "JTEXT" '("JTEXT"))
Last edited by SLW210; 20th Jul 2012 at 04:22 pm. Reason: Add Code Tags!!!!!
Bookmarks