AutoCAD 2002 ReferencePoint Suite

AutoCAD contains many commands that enable you to create or edit a drawing. To be able to use some specific commands more frequently, you need to customize AutoCAD. You can do so by:
Defining customized templates for starting a new AutoCAD file.
Defining customized menus and toolbars.
Defining customized fonts and shape files to be used in AutoCAD drawing.
Defining customized linetypes and hatch patterns.
Defining a customized text string in AutoCAD using DIESEL (Direct Interpretively Evaluated String Expression Language).
Writing programs using Visual Basic for Application.
Writing programs using AutoLISP.
Writing programs using Visual LISP.
In this ReferencePoint, you will learn to customize AutoCAD using Visual Basic for Application (VBA) and AutoLISP.
Autodesk licensed VBA from Microsoft for use in Release 14. VBA provides a simple way to customize AutoCAD and allows you to automate tasks and program applications from within an application.
VBA is a part of Visual Basic (VB) and enables you to create macros and other such automation utilities. VB enables you to write code that can be compiled into an .exe file, which is an independently executable file.
VBA is related to the application and the document in which you write its code. VBA programs are written for a specific use. For example, if your company manufactures flanges and pipes, you can use VBA to write a program that will show a dialog box that lets you specify the values and dimensions of the flanges and pipes.