20070512

AutoCAD 2006 VBA - A Programmer’s Reference

book cover

This book provides a concise guide to the kind of customization programmers can achieve with AutoCAD 2006. It demonstrates how to use AutoCAD through short code examples written in Visual Basic for Applications (VBA). It also includes a complete quick reference that lists all the events, methods, and properties available with AutoCAD. Finally, it describes all the constants and system variables.

What Is This Book About?
This book is about AutoCAD 2006 and how to use AutoCAD VBA in your applications to handle all your drawing tasks more efficiently. It shows you how to programmatically control the creation and editing of individual drawing objects, manipulate linetypes and layers, control text and dimension styles, and do much more. As you encounter each of these topics, you’ll learn all about the associated objects, including their properties, methods, and events.
By interfacing with AutoCAD, you can exploit all of AutoCAD’s functionality that would have taken you a long time to write yourself. This book will first help you learn how to use this functionality. Then it will become a handy reference later, when you have a question that you just can’t answer.
This book splits topics into neat and intuitive segments and makes it easy to find specific information when you need it (that is, when you’re coding real-world applications).

Who Is This Book For?
The book is a reference guide for AutoCAD programmers, and it’s primarily designed to explain and demonstrate the features of AutoCAD 2006. As such, this isn’t a beginner’s guide; however, if you’ve programmed in any language that can interface with other COM objects, you should be able to easily understand and use this book.
In particular, the book is aimed at programmers who use AutoCAD for daily tasks and can see the benefits of customizing and automating these tasks. I present programming techniques needed to create and modify AutoCAD drawings, customize preferences, query and set system variables, and so on, using the built-in VBA. You can customize AutoCAD to any degree of sophistication. If you can think it up, then Ibet you can use AutoCAD VBA and this book to help you achieve your goal.

TABLE OF CONTENT:
Chapter 01 - The VBA Integrated Development Environment (VBAIDE)
Chapter 02 - Introduction to Visual Basic Programming
Chapter 03 - Application Elements
Chapter 04 - AutoCAD Events
Chapter 05 - User Preferences
Chapter 06 - Controlling Layers and Linetypes
Chapter 07 - User Interaction and the Utility Object
Chapter 08 - Drawing Objects
Chapter 09 - Creating 3-D Objects
Chapter 10 - Editing Objects
Chapter 11 - Dimensions and Annotations
Chapter 12 - Selection Sets and Groups
Chapter 13 - Blocks,Attributes,and External References
Chapter 14 - Views and Viewports
Chapter 15 - Layout and Plot Configurations
Chapter 16 - Controlling Menus and Toolbars
Chapter 17 - Drawing Security
Chapter 18 - Using the Windows API
Chapter 19 - Connecting to External Applications
Chapter 20 - Creating Tables
Chapter 21 - The SummaryInfo Object
Chapter 22 - An Illustrative VBA Application
Appendix A - AutoCAD Object Summary
Appendix B - AutoCAD Constants Reference
Appendix C - System Variables

Download Here

Password: ganelon