Название: AutoCAD 2002 Bible
Автор: Finkelstein E.
If AutoCAD 2002 can do it, you can do it too. Packed with practical, real-world examples and authoritative advice, the AutoCAD 2002 Bible is your complete guide to the best AutoCAD yet. Expert author Ellen Finkelstein shows you how to master every aspect of this powerful design software, from 2D drawing and plotting fundamentals to database interactions, VBA and AutoLISP programming, Internet collaboration, and more. Inside, you'll find complete coverage of AutoCAD 2002
Discover the latest techniques for creating high-quality drawingsMaster precision tools for creating 2D and 3D drawings and renderingsLearn to use new features for manipulating blocks (symbols) and their attributes (properties)Explore updated methods for getting your drawings on the Web and collaborating via the InternetControl your drawings with new CAD Standards featuresHarness the advanced database access and data-sharing features of AutoCADCustomize AutoCAD to fit the way you work for maximum productivity
Visual Basic for Applications (VBA) is a programming language and environment included with many Microsoft applications, such as Word, Excel, PowerPoint, and Access. Since Release 14, it has been available with AutoCAD as well. VBA is ideally suited for situations in which you need to work with more than one application at a time. ActiveX, discussed in the last chapter in relation to Visual LISP, enables you to access objects in other applications. However, you can also use VBA to program AutoCAD alone. This chapter introduces you to VBA and shows how you can start to use this powerful language to customize AutoCAD.
Visual Basic for Applications is a variation of Visual Basic. Visual Basic is not related to any specific application. Visual Basic code is compiled into an executable file that stands alone, unrelated to any specific document. VBA, on the other hand, is connected to its application and the document in which you created the code. VBA provides a simple way to customize AutoCAD, automate tasks, and program applications from within the application.
VBA in AutoCAD works slightly differently from VBA in most other applications in that VBA projects are stored in a separate file, with the extension .dvb, but can also be stored within the drawing file.