How to Create and Load a LISP file in Autocad 2008 Mechanical baby steps
The following tutorial contains 3 baby steps that will help you create, load and use a LISP file for Autocad 2008 Mechanical without any previous Autocad knowledge or skills, so don't you worry, you're on the right track.
1. What is a LISP file?
First of all, you should know what a LISP file is and how does it influence your work in Autocad 2008 Mechanical. Wikipedia has a pretty good explanation:
"AutoLISP is a dialect of Lisp programming language built specifically for use with the full version of AutoCAD and its derivatives, which include AutoCAD Map 3D, AutoCAD Architecture and AutoCAD Mechanical. Neither the application programming interface nor the interpreter to execute AutoLISP code are included in the AutoCAD LT product line".
2. How to Create a LISP file in Autocad 2008 Mechanical
Well, it's pretty simple actually to create a lisp file in Autocad 2008 Mechanical.
All you have to is open a new notepad file, PASTE your code and then save your new LISP with a .LSP extension.
3. How to LOAD a LISP file in Autocad 2008 Mechanical
In order to load a LISP file in Autocad 2008 Mechanical you'll have to use the following command:
A window will then open, asking for your .LSP file. Click LOAD and notice that in your left bottom corner of your window, a message like "yourfile.lsp successfully loaded".Now, all you have to do is type the command you have described in your LISP file in order to execute it.
Wasn't that hard, was it?
To you, the reader
I thank you for your attention and I hope this article was helpful to you. Feel free to ask any question in the comment section.
No comments yet.