Originally Posted by
timlane
I am running Autocad 2012 x64 SP1. I have a customized acaddoc.lsp file which loads other routines. I have noticed that when I first open Autocad my preloaded routines work. If I start a new drawing the routines work, but if I open an existing file the routines don't work and I get the unknown command message. This file is suppose to run prior to loading all new or existing files, can anybody help me with why it is not working correctly? Do I have another variable set incorrectly?
In the "acaddoc.lsp" file, place a line of code at the very bottom like this:
Code:
(princ "\n Acaddoc.lsp loaded. ")
If you do not see that printed at the command line when you open _any_ drawing, then the "acaddoc.lsp" file is crashing, not loading fully, whatever you want to call it, before it finishes loading, hence why the commands do not work.