Learning AutoLISP & Visual LISP

55 Video Lessons

Was: $20

Deal Price: $12

You Save: $8 (40%)

About this Course

Due to its relative simplicity and historical integration within the AutoCAD environment, LISP is a natural first programming language for CAD managers.

In this course, expert walks through the fundamentals of LISP for AutoCAD, so that you can start using this language to simplify tedious tasks and ease the implementation of standardization.

Expert explains what LISP is, the differences between AutoLISP and Visual LISP, how to write it, as well as how to create objects and store information that you can use later.

Plus, throughout the course, expert shares coding best practices that can help you work efficiently with this functional language.

 

Topics include:

  • Reviewing LISP formatting
  • Creating a defined function
  • Getting and setting variables
  • Using an if condition function
  • Using a cond condition function
  • Working with strings and lists
  • Getting data from users
  • Working with loops, selection sets, and geometry
  • Creating and editing graphic entities
  • Reviewing Visual LISP director functions
  • Reading and writing to the registry
  • Loading LISP files
  • Error trapping

 

Contents

 

1. Introduction
Welcome

Exercise files

 

2. LISP Formatting
History

Visual LISP IDE

 

3. LISP Functionality
Creating a defined function

Creating and using variables

Getting and setting variables

Using an if condition function

Using a cond condition function

 

4. 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

 

5. Working with Strings
Function: strcase

Function: strcat

Function: strlen

Function: substr

Visual LISP methods

 

6. Working with Lists
List and dotted pairs overview

Functions: nth and length

CDR, CAR, CADR, and more

Function: append

Function: subst

Visual LISP methods

 

7. Getting Data From Users
Function: getstring

Function: getpoint

Function: getdist

Function: getreal

Functions: getkword and initget

Functions: entsel and entget

Funtion: getfiled

 

8. Loops
Function: while

Function: repeat

Function: foreach

 

9. Selection Sets
Function: ssget

Functions: sslength and ssname

Selection set filters

 

10. Working with Geometry
Function: polar

Function: angle

Function: distance

Function: inters

 

11. Creating and Editing Graphic Entities
Functions: assoc and subst

Function: subst

Function: entmod

Function: entmake

Function: entdel

Visual LISP entity functions

 

12. Creating and Editing Non-Graphic Entities
Function: tblsearch

Function: tblobjname

Visual LISP methods

 

13. Storing Data
Function: namedobjdict

Visual LISP dictionary functions

Reading and writing to the registry

 

14. Loading LISPs and Error Trapping
Loading a LISP file

Using acad.lsp and acaddoc.lsp

Error trapping

1. Language: English. 

2. Secure download. 

    Video file format: MP4.

3. Learn anywhere. Switch between

    your computer, tablet, or TV.  

4. Practice while you learn

    with exercise files.  

5. Secure payment by PayPal.

6. 30 days refund.

7. No subscription needed.

8. Lifetime access.

9. This course without a sponsored ads.

 

Watch. Listen. Practice. Learn.