Monday
AutoLISP, Programming, Visual LISPDifference between AutoLISP and VisualLISP
Dear readers,
Today I will try to talk about the differences between AutoLISP and VisualLISP. VisualLIPS has made the software a lot easier ever since the R14 edition of AutoCAD. As I gather, VisualLISP is not commonly used here in our country, Turkey. At least, my Google search has proven so.
For you to be able to see the difference more clearly, I present you two kinds of programs. One of them is the C:F1 command and the other is the C:F2 command (Code.3). They both do the same thing: Give your selection the red color property.
The sub-program the C:F1 function uses is clearly the more capable one “Change-Color-F1” (Code.1). when you edit an object with AutoLISP, you need to have its DXF information.
The Visual Lisp/ ActiveX programming requires more experience but it is easier to use its methods once you edit an object. That is, for example, you use the vla-put-color method if you want to edit the color of an object. You don’t need to know a lot of English either, the names of the methods are quite self-explanatory.
We use the ActiveX name provided by Microsoft for its VBA software in VisualLISP language because its foundation is built on VBA.

Code.1 – The “Change-Color-F1” function that operates with the DXF code.

Code.2 – The Active-X Function “Change-Color-F2“

Code.3 - Main Functions; “C:F1” and “C:F2“
Have a nice time,
![]() |
compare-lisp-func.zip 434 bytes | |
| A sample program that compares Visual LISP and AutoLISP. Muharrem Kocyigit | ||
| Added On | September 1, 2008 and downloaded 516 times. | |
Post Tags:
Related Posts
Popular
- Using multiple insertion points in dynamic blocks
11/18/2008 04:47 pm
4 Comments - Linetype Scale
11/17/2008 10:10 am
10 Comments - 3D Modeling 6: Using REVOLVE command
11/16/2008 09:20 pm
5 Comments - Understanding scale concept and units in Autocad…
11/16/2008 08:54 am
76 Comments - CONVTOSOLID
11/15/2008 01:58 pm
5 Comments
Featured Articles
- Technology Preview of MEP Analysis Extension extended to 12/31/08
- Autodesk Labs: Forward and Backward utility for AutoCAD
- Autocad 2009 and Autocad LT 2009 Service Pack 1 Released
- AutoCAD 2009 resources
- Animate your 3D models with AutoCAD 2009’s SHOW MOTION!
- Saving your 3D views in AutoCAD 2009

Daily AutoCAD Wall RSS Feed