Copying LISP code from this Blog

I have been receiving questions about errors while copying AutoLISP code from the blog. unfortunately, I cannot make an attachment of the LISP file itself with WordPress who hosts this blog. I am currently looking for a good file host where I can upload the LISP files and then you can easily download the file. But in the meantime, this is how you copy code from the “code” section of my LISP posts.

Simply open a new session of windows “Notepad” or while you are in AutoCAD open the “Visual Lisp Editor” by either using the command VLISP <enter> or VLIDE <enter>.

While in this blog, hover your cursor over the “code area” (text area that has the LISP code). There will appear a couple of buttons (as seen in the picture below).

One allows you to copy all of the code (Minus the numbers that appear to the left) and then you can paste that into your active session of Notepad or Visual Lisp Editor.

The other allows you to see the “source code” which opens a little box that shows the code (minus the numbers that appear to the left). You can then highlight this code and copy & paste…

I hope this helps…

About AutoCAD Tips

This blog serves as a knowledge base for myself (and anyone else) so that I can reference tips & tricks that I have learned and also refer others to it as well. I hope that this blog helps you learn at least one tip to make your drafting/design experience better.
This entry was posted in AutoLISP, TIPS. Bookmark the permalink.

2 Responses to Copying LISP code from this Blog

  1. DXF File says:

    I am also learning AutoCAD but I was thinking that is it really very important to learn LISP if I want to become an expert in AutoCAD. Thanks for this post!

  2. Pither Rukka says:

    I think that’s very important. If you know Autolisp you can use AutoCAD effectively because you can accelerate to finished your drafting.

Leave a comment