> I have a LISP routine that when I try to run it, I get this error
> message: error: no function definition: F:LD It worked fine with
> LDT2005, but when I installed LDT2009, it doesn't work. this is the
> routine: (DEFUN CAT () (F:LD)(LOAD "R:/ACAD
> 2009/APPS/GRADE_LSP/DATUM.LSP") (PRINC) ) I don't know a lot about
> AutoLISP, but I can usually fix small issues.
Why don't you believe what the computer says?
The first thing your CAT function does is call the F:LD function,
which is not a part of AutoCAD and is not defined in this code extract.
So find out where it is defined and make sure to load it before calling
To find it you could first search via the windows Find program, for files '*.lsp' and string 'n f:ld' in all the directories that contain the Autocad and LDT material.
If the function is in a vlx file, the Find may also work.
If found, it must be loaded before you start your work.
And the loading should have been made automatic by the LDT installation.