×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Lisp routine advice

Lisp routine advice

Lisp routine advice

(OP)
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

RE: Lisp routine advice

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 ()

RE: Lisp routine advice

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

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources