|
发表于 2022-7-6 12:03:43
|
显示全部楼层
Lisp is a programming language that Autodesk chose to include with Autocad early on because it was good at 3D (One of it's orgional uses was for ballistics) and it was free.
AutoLisp is Autocad's own version of Lisp, written to work with Autocad.
Visual lisp really refers to the Visual Lisp editor. Type 'VLIDE' at the command line to use the editor. The Visual Lisp editor helpfully colour codes your Lisp routines (amongst other things) which is a great help when it comes to debugging.
Visual Lisp also refers to the ObjectARX (C++) extensions to the Autolisp API. Adding 'vl-load-com' at the begining of your AutoLisp program allows you to use object orientated programming techniques which can really add a lot of ompf to your programmes.
AutoLisp is uncompiled, so you can type it in a the command line and it evaluates immediatly. It's great for writing short macro's, but it can become unweildy for writing complicated programes and creating dialogs can be a real struggle.
VB, VB.net, C# and C++ are all complied programming languages. They load and run a lot faster, the code is a lot easier to manage and creating dialogs is a doddle. But they can take longer to debug.
If your interested in working more efficiently, or you are a CAD manager, spending time learning Auto/Visual Lisp will not be wasted, but if you are interested in some more serious programing I would recommend going straight for VB.net or C#.net
This is a good place to start:
http://www.afralisp.net/
as is AU online:
http://au.autodesk.com/ |
|