running lsp's inside an lsp

  • Thread starter Thread starter latour
  • Start date Start date
L

latour

I have never had this problem before. But on a new computer (to me) AutoCAD 2005 was just installed on it and I am having trouble with my shortcut .lsp's. I set up a lisp file that would purge everything, audit the drawing, delete all the layer filters, flattens the drawing, saves it and closes the drawing. The problem is, when I run the program, it says that my layer filter delete file (LFD.lsp is in my startup suite) is an invalid command and errors out. However, if I manually type LFD, it works fine.
How can I get a lisp file to recognize another lisp file?

Thanks for the help.
 
How can I get a lisp file to recognize another lisp file?

Probably you're trying to use (command "lfd"). It's not a command. Assuming
the function is named c:lfd, you call it via (c:lfd). The file must already
be loaded, as you said it was.
 
Back
Top