• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Summary

This chapter was designed to help you compare the two different programming environments of AutoLISP and VBA, and to help you draw your own conclusions as to how you can most effectively customize AutoCAD. The chapter does not represent an exhaustive analysis of either environment. Instead, it has attempted to give you a feel for the overall approach of each language via typical functions and procedures. The chapter also explored the differing methodologies used by LISP and VBA to design graphical user interfaces.

The choice is a tough one. AutoLISP is easy to learn and still does pretty much everything you can do with AutoCAD. With the Visual LISP extensions, you can even access the AutoCAD Object Model and interact with Windows. VBA offers the stability of an object-oriented approach (but you must master the object concepts), gives you easy access to other applications that support the ActiveX interface, and is more flexible than AutoLISP/DCL when you are designing dialog boxes, or "forms." Both environments have a lot to offer, and you won't go wrong whichever one you choose.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint