YoVDO

Learning AutoLISP & Visual LISP

Offered By: LinkedIn Learning

Tags

Lisp Courses Programming Courses AutoCAD Courses String Manipulation Courses

Course Description

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

Related Courses

Computer Vision: The Fundamentals
University of California, Berkeley via Coursera
Programming Languages
University of Virginia via Udacity
Learn to Program: Crafting Quality Code
University of Toronto via Coursera
Computational Photography
Georgia Institute of Technology via Coursera
Algorithms: Design and Analysis, Part 2
Stanford University via Coursera