Lee Mac Posted September 26, 2009 Posted September 26, 2009 What are you typing at the command line? For example, to run my LISP as posted in this thread: Copy the code in the code frame into a new Notepad document, and save the file as whatever you like, but make sure it has the .lsp extension and that the "Save as Type" box is set to "All Files". Go to AutoCAD and type "appload" at the command line, or go to the relevant menu. Find the saved LISP file and load it. Type "ins" at the command line to invoke the command. Hope this helps, Lee Quote
Martin VAL Posted September 28, 2009 Posted September 28, 2009 Hi, you all. This thread reminds me of when I started using Lisp, AutoLisp and VBA. Hope I can be of some assistance in the future, I've just joined. Good night everyone. Martin Quote
Chad_bestmnf Posted September 28, 2009 Author Posted September 28, 2009 Ok I finally got it to work. I appreciate it Lee Mac. I must have been leaving out a step. So is there a way to set this up as a button. Or will I have to go through loading it and typing "ins" every time I want to use it? Quote
Lee Mac Posted September 28, 2009 Posted September 28, 2009 Ok I finally got it to work. I appreciate it Lee Mac. I must have been leaving out a step. So is there a way to set this up as a button. Or will I have to go through loading it and typing "ins" every time I want to use it? You can add the routine to the StartUp Suite in the appload dialog box, or your can add a call to it in your ACADDOC.lsp file. To add it as a button, type in the macro box: ^C^C(c:ins) Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.