Autodesk University Online

Register | Sign In
Bookmark and Share Back to Class Listing

The AutoLISP® Crash Course

8 Questions 2 Answers Ask the Speaker a Question
  • Event Year: Autodesk University 2008
  • Class ID: CP205-2
  •  
  • Primary Speaker: Robert Green
  •  
  • Class Information
  •  
  • Primary Track: Customization and Programming
  • Primary Software: AutoLISP
  •  

Class Audience

All DWG-based product power users and CAD managers

Class Description

AutoLISP/Visual LISP® is a powerful way to extend AutoCAD® functionality, but many avoid using it because they think it's too hard to learn. This course starts at the beginning and rapidly moves you through concepts such as lists, accessing the command line, storing and retrieving variables, writing your own command functions, working with simple sets, and controlling AutoCAD's start-up to achieve greater standardization of your AutoCAD environment. If you want to tap the power of AutoLISP, fasten your AutoCAD belt for this session.

Class Highlights


  • Working with variables, functions, and the command line

  • Understanding data types and user inputs

  • Using conditional statements like IF, WHILE and COND

  • Writing custom user command functions

  • Undefining, redefining, and customizing command functions

  • Compiling and loading AutoLISP from other programs

View all 8 questions Questions & Answers

  • Reply AMY CHEATHAM asked...
    I am trying to create a command alias in my acaddoc.lsp file for the 'textmask' command. I can type 'textmask' in at the command line and the command works just fine, but in trying to make a command alias, I get the error 'unknown command "textmask"'. I tried setting up an alias some time back in the .pgp file and it wouldn't work either. I am working ACAD Map 2005. Just for your information, I have this alias set up in earlier versions (2000, R14, etc.) and they work just fine. 07-29-2009 4:00PM

  • Reply AMY CHEATHAM asked...
    I am using AutoCad Map 2005 3D and I do not have the "acaddoc.lsp" file that you reference in this course. I'm assuming that if I create any lisp routines, I can save them under that name and they will load automatically as it is a recognized file upon loading? 07-24-2009 9:20AM

  • Reply vikash gupta asked...
    sir, can u suggest me some book regarding AutoLisp subject. 02-27-2009 5:22AM

  • Reply Robert Green replied...
    If you can find "AutoLISP in Plain English" by George Head that is a great book. It is out of print now so you'll have to go to Ebay to find it.

    You can also get on Amazon and look for books by Bill Kramer.

    Finally go to the CADALYST.COM site and look under the Hot Tip Harry section for beginning AutoLISP tutorials.

    Good luck!
    02-27-2009 6:30AM

  • Reply Shawn Ben asked...
    Is this alive or taped?! 12-17-2008 1:34PM

  • Reply Kaitlin Nguyen asked...
    I attended your class at AU and truely enjoyed it. There were no more handouts when I got to class, will it be available for download? 12-16-2008 11:24AM

  • Reply Robert Green replied...
    You can download from the AU site here or at my web site at www.cad-manager.com/au 12-16-2008 2:44PM