After researching all the info on this I am still a bit confused. We just started using AutoCAD 2005. I took the acaddoc.lsp file from our 2002 installation and dropped into the primary 2005 support folder. It does not load when opening any new or existing file. The only way it loads is from the command line (load "acaddoc.lsp"). I understood that everytime a drawing is opened AutoCAD would search for acaddoc.lsp first in the drawing directory then in the support paths. I have in C:\adt2005\support, which is the first path in our options list. Is there something else I need to do? Thanks
Options > System Tab check of "Load Acad.lsp with every dwg" 2002 installation and dropped into the primary 2005 support folder. It does not load when opening any new or existing file. The only way it loads is from the command line (load "acaddoc.lsp"). acaddoc.lsp first in the drawing directory then in the support paths. I have in C:\adt2005\support, which is the first path in our options list.
Try renaming it to: acad2005doc.lsp -- John Laidler INCAT www.incat.com 2002 installation and dropped into the primary 2005 support folder. It does not load when opening any new or existing file. The only way it loads is from the command line (load "acaddoc.lsp"). acaddoc.lsp first in the drawing directory then in the support paths. I have in C:\adt2005\support, which is the first path in our options list.
Options > System Tab check of "Load Acad.lsp with every dwg" The question is about acaddoc.lsp, not acad.lsp. Acaddoc.lsp should load in every drawing. You can force acad.lsp to behave this way by setting acadlspasdoc=1, but it can be useful to keep the default distinction between the two types of behavior. If you want a lisp to load in every drawing, the simplest way is to rename it from acad.lsp to acaddoc.lsp.
As far as acad2005doc.lsp, there already is one that is created by AutoCAD, do not want to overwrite that one. This is ADT, so maybe it is an ADT thing, its just that the ADT Customizations group is not very active. Thanks
At the expense of (1) line modification ----- last line in acad2005doc.lsp....... (load "acaddoc") Bob
Is it possible that you have duplicate .lsp files in a folder higher in the search path? I believe Acad will only autoload the first one found of each name.
Make sure that you have added the location of your "acaddoc.lsp" file to your "support file search path".
Both acad2005doc.lsp and acaddoc.lsp are in C:\ADT2005\Support, which is the first suppport path in Options. I am waiting to hear back from Autodesk support although they have not been too helpful so far. They pass the case along to the next level so I will post any resolutions here. Thanks
Okay, this was the problem. The following lsp routine had been set to load auotmatically in appload and was cancelling our everything that followed. "Also zero-slc.lsp should not be auto-loaded because it is a command that asks for objects once loaded. It starts the command and looks for objects to flatten if it is loaded and then the rest of the .lsp cancels out when it does not find what it is looking for."