Learn AutoLISP for AutoCAD productivity
What is AutoLISP?
AutoLISP is a programming language designed specifically for use with the full version of AutoCAD (i.e. it does not work with AutoCAD LT). AutoLISP is one of a number of Application Programming Interfaces (APIs) built into AutoCAD but it is probably the easiest to use and therefore the most productive for the beginner. If you'd like to learn how to use AutoLISP to improve productivity, you're in the right place.
AfraLISP will help you get to grips with AutoLISP as quickly and easily as possible using some great tutorials for beginners. But the site also contains many intermediate and advanced AutoLISP tutorials to take you much further than the basics. In addition, AfraLISP provides DCL Tutorials (Dialog Control Language), Visual LISP tutorials, VBA Tutorials and AutoCAD customization tutorials in case you'd like to take your AutoLISP and AutoCAD programming to the next level.
Beginners Start Here
The Basics in a Nutshell - Part 1
Popularity: 40 visits/day | Last visit: 27 mins ago
The Basics in a Nutshell - Part 2
Popularity: 28.1 visits/day | Last visit: 42 mins ago
The Basics in a Nutshell - Part 3
Popularity: 20.8 visits/day | Last visit: 42 mins ago
The Basics in a Nutshell - Part 4
Popularity: 16.7 visits/day | Last visit: 41 mins ago
Popularity: 16.9 visits/day | Last visit: 2 hours ago
Popularity: 42.2 visits/day | Last visit: 38 mins ago
Featured Tutorials
Popularity: 9.1 visits/day | Last visit: 6 hours ago
Popularity: 8.2 visits/day | Last visit: 3 hours ago
Popularity: 5.7 visits/day | Last visit: 34 mins ago
Popularity: 2.1 visits/day | Last visit: 14th Aug ago
Error Trapping with Visual LISP
Popularity: 5 visits/day | Last visit: 6 hours ago
Popularity: 5 visits/day | Last visit: 22 hours ago
Tip of the Day
Converting Strings to Uppercase
There are many occasions when you'll need to convert a string variable to uppercase, especially when you've requested a response and need to test it. It's much easier to test it against all-uppercase than to try to test for every combination of uppercase and lowercase. The command for the conversion is (strcase) :
(setq uc (strcase lc))
This converts the value of the string variable lc to uppercase and assigns the new value to the variable uc.
Missed a Tip?
Did you miss yesterday's tip? Maybe you forgot to drop by or maybe you didn't visit over the weekend. If so, you can now see all the tips published during the past week.