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
Popularity: 42 visits/day | Last visit: 34 mins ago
Popularity: 30.7 visits/day | Last visit: 2 mins ago
Popularity: 21.7 visits/day | Last visit: 3 mins ago
Popularity: 17.6 visits/day | Last visit: 40 mins ago
Popularity: 17.3 visits/day | Last visit: 7 mins ago
Popularity: 46.6 visits/day | Last visit: 9 mins ago
Popularity: 12.2 visits/day | Last visit: 3 hours ago
Popularity: 5.1 visits/day | Last visit: 12 mins ago
Popularity: 3.5 visits/day | Last visit: 13 hours ago
Popularity: 6.6 visits/day | Last visit: 19 hours ago
Popularity: 3.9 visits/day | Last visit: 3 hours ago
Popularity: 4.3 visits/day | Last visit: 14 hours ago
Tip of the Day
Random Number Generator
Random number generation function - based on the linear congruential method as presented in Doug Cooper's book Condensed Pascal, pp. 116-117.
Returns a random number between 0 and 1 :
(defun randnum (/ modulus multiplier increment random) (if (not seed) (setq seed (getvar "DATE")) ) (setq modulus 65536 multiplier 25173 increment 13849 seed (rem (+ (* multiplier seed) increment) modulus) random (/ seed modulus) ) )
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.