×
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

Executing LSP routines

Executing LSP routines

Executing LSP routines

(OP)
Hello.

I've downloaded some LSP routines for inserting fasteners into my drawings but I don't know how to execute them.

The readme.txt file says to put the LSP routine in the \Support directory and then run it by (load "xxx.lsp"). When I do that on the command line it seems to take and responds with C:XXX. However, there doesn't seem to be any change to my system - no new menus or toolbars, nada. If I go into "Tools - Load Application", it tells me that XXX has been loaded. Try as I might, I can't find the means to execute it. I've tried several different LSP routines and have never been able to run them.

How do I actually execute the routines after I've loaded them? (BTW, I'm using 2002.)

RE: Executing LSP routines

Could you post the first few lines of the lisp?  Maybe the original author's instructions are generic.  Usually the name of the lisp is something like this (defun c:al ().  For this example you would load the lisp and type al to activate.  I keep all my lisps in the AutoCAD Support directory as well.  You can also load lisp via the Assist drop down Menu. Assist -> Autolisp-> Load.  Then find the lisp and hit enter.  Let me know if you need additional assistance.

Best regards
gbednar
AutoCAD 2000 with Mechanical Power Pack on Windows XP Pro

RE: Executing LSP routines

Try entering XXX at the command line.

Open the XXX.lsp with notepad or wordpad and search for (DEFUN C:

DEFUN = define function and the C: means its a command line function.  

You would enter the portion follow the C: at the command line to execute the function.

RE: Executing LSP routines

(OP)
Thank you both...

It was as simple as knowing to just type the XXX at the command line.

Thanks!

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