Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations IDS on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Lisp routine advice

Status
Not open for further replies.

taffcad

Mechanical
May 27, 2004
49
I have finally got around to try and utilize a lisp routine after posting the question some time ago. I am using Autocad 2000 and after copying the lisp routine from the reply thread 555-138436 I have got the file to show in the loaded applications dialog box as being loaded successfully. The file is shown in red and when selecting it the unload button does not become active as when clicking on the black files in the same box, so it does not appear to be loaded correctly?

When typing in put_nums at command line it comes up as unknown command.
Dragging from explorer just drops in the text as an OLE so it is not the same setup as 2006 given in the thread.

Any advice would be most welcome

Thanks in advance

Taffcad
 
Replies continue below

Recommended for you

When you loaded it did you see the text "loaded successfully" in the "load applications" dialogue box?

And in the "drag & drop" method, you drag the File name from Explorer, not the lisp file contents.

If problems, try copying and pasting the lisp code again to a empty file in Notepad, save with a ".lsp" file extension.

is the first line of code

Code:
(defun c:put_nums ()
 
Assuming the code has no errors and the put_nums.lsp resides in Autocad's support path, type in (load"put_nums") at the command promt to load the application. To invoke the command, type in put_nums at the command line.

____________________
Acad2005, Terramodel
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor