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
()
Ex_Files_AutoVisual_LISP.zip
(236 KB)