Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Executing LSP routines 1

Status
Not open for further replies.

Binary

Mechanical
May 16, 2003
247
US
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.)
 
Replies continue below

Recommended for you

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
 
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.
 
Thank you both...

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

Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top