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: 45.5 visits/day | Last visit: 5 mins ago
Popularity: 32.5 visits/day | Last visit: 25 mins ago
Popularity: 22.9 visits/day | Last visit: 8 mins ago
Popularity: 18.5 visits/day | Last visit: 57 mins ago
Popularity: 20.4 visits/day | Last visit: 37 mins ago
Popularity: 56.4 visits/day | Last visit: <1 minute ago
Popularity: 16.2 visits/day | Last visit: 37 mins ago
Popularity: 7.2 visits/day | Last visit: 4 hours ago
Popularity: 10.5 visits/day | Last visit: 11 mins ago
Popularity: 11.6 visits/day | Last visit: <1 minute ago
Popularity: 4.5 visits/day | Last visit: 5 hours ago
Popularity: 9.3 visits/day | Last visit: 13 mins ago
Tip of the Day
Breaking a Circle
Have you ever tried breaking a Circle into 2 separate parts using the Break command? It doesn't work does it? This routine allows you to separate a circle into two arcs by picking two points on the circle.
(defun c:bcirc (/ os pt1 pt2 a pt3) (setq os (getvar "osmode")) (setvar "osmode" 512) (setq pt1 (getpoint "\nFirst Break in Circle : ")) (setq pt2 (getpoint "\nSecond Break in Cricle : ")) (setq a (entget (ssname (ssget pt1) 0))) (setq pt3 (cdr (assoc 10 a))) (command "break" pt1 pt2) (command "arc" pt1 "e" pt2 pt3) (setvar "osmode" os) (princ) ) (princ)
Pick any 2 points on the a Circle. The circle will look the same, but it will be broken into two arcs.
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.