Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

LinkedIn Learning

Learning AutoLISP & Visual LISP

via LinkedIn Learning

Overview

Learn the fundamentals of LISP for AutoCAD, so that you can start using this language to simplify monotonous tasks and ease the implementation of standardization.

Syllabus

Introduction
  • Welcome
  • Exercise files
1. LISP Formatting
  • History
  • Visual LISP IDE
2. LISP Functionality
  • Creating a defined function
  • Creating and using variables
  • Getting and setting variables
  • Using an if condition function
  • Using a cond condition function
3. Visual LISP Introduction
  • Function: vl-Load-Com
  • Function: vlax-get-acad-object
  • Function: vla-get-preferences
  • Function: vla-get-activedocument
  • Function and command: vl-cmdf
4. Working with Strings
  • Function: strcase
  • Function: strcat
  • Function: strlen
  • Function: substr
  • Visual LISP methods
5. Working with Lists
  • List and dotted pairs overview
  • Functions: nth and length
  • CDR, CAR, CADR, and more
  • Function: append
  • Function: subst
  • Visual LISP methods
6. Getting Data From Users
  • Function: getstring
  • Function: getpoint
  • Function: getdist
  • Function: getreal
  • Functions: getkword and initget
  • Functions: entsel and entget
  • Funtion: getfiled
7. Loops
  • Function: while
  • Function: repeat
  • Function: foreach
8. Selection Sets
  • Function: ssget
  • Functions: sslength and ssname
  • Selection set filters
9. Working with Geometry
  • Function: polar
  • Function: angle
  • Function: distance
  • Function: inters
10. Creating and Editing Graphic Entities
  • Functions: assoc and subst
  • Function: subst
  • Function: entmod
  • Function: entmake
  • Function: entdel
  • Visual LISP entity functions
11. Creating and Editing Non-Graphic Entities
  • Function: tblsearch
  • Function: tblobjname
  • Visual LISP methods
12. Storing Data
  • Function: namedobjdict
  • Visual LISP dictionary functions
  • Reading and writing to the registry
13. Loading LISPs and Error Trapping
  • Loading a LISP file
  • Using acad.lsp and acaddoc.lsp
  • Error trapping
Conclusion
  • Next steps

Taught by

Josh Modglin

Reviews

4.5 rating at LinkedIn Learning based on 27 ratings

Start your review of Learning AutoLISP & Visual LISP

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.