I have completed the first 10 chapters of the VBA book that I am working on. This month has been very busy with the new addition to my family and some other things going on. Below is a breakdown of what is in the first 10 chapters that span almost 200 pages, 198 pages to be exact.
Introduction
Chapter 1: AutoCAD Commands for VBA
Covers the commands that are available in AutoCAD for working with VBA projects.
Chapter 2: Visual Basic Editor
General look at the various tools that are in the Visual Basic Editor (IDE)
Chapter 3: Code Modules
A breakdown of what you can find in a code module and what a code module is. You will learn how to work with procedures, variables, data types and general error handling.
Chapter 4: UserForm (Dialog Boxes)
You will learn how to add controls to a UserForm and how to manipulate both controls and the UserForm at design-time.
Chapter 5: Basic VBA Functions & Conditional and Looping Statements
A look at some of the most widely used functions that VBA has to offer. These include string and data conversion procedures, and working with mathematics. The chapter also covers working with While and For loops, among much more.
Chapter 6: AutoCAD Entities - Part 1
A look at some of the basic entities that can be added to a drawing and are found in the AutoCAD Object Library. These are objects like AcadObject and AcadEntity which are the base for objects that can be added to a drawing file. Then it starts covering objects like Lines, Circles, Arcs and many others.
Chapter 7: AutoCAD Entities - Part 2
A continued look at entities that can be added to a drawing, but these are the complex entities. Objects like Polylines, Hatches, Splines and many others can be found in this chapter.
Chapter 8: Document Object
This chapter focuses on the Document object which represents the Document window and the database objects that hold the contents of an open drawing file. It also takes a look at the preferences of the Database, Drawing Properties, File Dependencies and how to work with collections.
Chapter 9: Application Object
This chapter focuses on the Application object which represents the actual AutoCAD session and allows for accessing all the open drawings. You can also find information about the application preferences, which normally you find under the Options command of AutoCAD.
Chapter 10: User Input Outside of a UserForm
You can find information on how to get information from the user at the Command Line in this chapter. I have also included some information that I have gathered through out the years to help improve the process of working with the Command Line based input methods.
I should be complete with the next three chapters over the next couple of days and will post an update after they are complete. Thanks to everyone that has posted comments or have sent me an e-mail on what they would like to see included in the book, so keep the information and concerns coming.
Sincerely,
Lee
Comments