Notice the use of the forward slash "/", not the backslash "\". To use your
lisp program, type the function name, e.g. if you used (defun C:MyProg . .
., just type MyProg. If you used (defun MyProg . . ., you need to type
R. Robert Bell, MCSE
Network Administrator (or, Modern-day Wizard)
(remove the "not." in my address for direct e-mail)
Bryon S. Hobson wrote in message
> Ok, I have written a lsp routine. where and how do put it so it will
> work in Autocad 14. What file do I edit, or how is it done? I know I
> have to define it somewhere so that Autocad will see it.
Go to "Tools" on the menu bar. From there, go to "Load Applications..."
Then, select "File" to browse for your LISP routine.
You can also load a LISP routine from the command line by typing
substituting the name of your LISP routine. If you haven't placed it in
your current directory, and if it isn't in a directory searched as defined
by the "preferences" command, you can add the pathname thusly:
There are also ways to make LISP routines load automatically when you start
a drawing, or to make them available from a menu or toolbar.
Two ways of auto-loading methods exist with r14.
1. Copy to clipboard your lisp routine and paste it to acad.lsp...
Then the routine will be automatically loaded everytime and you can use
at command line without (load "~~~.lsp").
2. Copy and paste it to your_custom_menu.mnl.
"Bryon S. Hobson" wrote in message
| Ok, I have written a lsp routine. where and how do put it so it will
| work in Autocad 14. What file do I edit, or how is it done? I know I
| have to define it somewhere so that Autocad will see it.