How to Create and Load a LISP file in Autocad 2008 Mechanical baby steps

How to Create and Load a LISP file in Autocad 2008 Mechanical baby steps
How to Create and Load a LISP file in Autocad 2008 Mechanical baby steps | Source

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.

How to Create and Load a LISP file in Autocad 2008 Mechanical baby steps
How to Create and Load a LISP file in Autocad 2008 Mechanical baby steps

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:

appload

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.


How to Create and Load a LISP file in Autocad 2008 Mechanical baby steps
How to Create and Load a LISP file in Autocad 2008 Mechanical baby steps

All done!

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.

Comments

No comments yet.

    Sign in or sign up and post using a HubPages Network account.

    0 of 8192 characters used
    Post Comment

    No HTML is allowed in comments, but URLs will be hyperlinked. Comments are not for promoting your articles or other sites.


    Click to Rate This Article
    working