The practical, realistic guide to
AutoCAD problem solving
with
VBA.
- Make AutoCAD do more than you ever thought
possible!
- Automate your most complex design tasks
- Integrate design data with enterprise systems,
databases, and the Internet
- Control PaperSpace, Viewports, and plotting
- Build a complete AutoCAD database
application—step-by-step
AutoCAD 2002 isn't just the world's #1 design and drafting
tool. It's a powerful, programmable platform for automating
complex design tasks, integrating design data with
enterprise information systems, and solving a wide range of
technical and business problems. The key to all that power
is
Visual Basic for Applications. And the key to AutoCAD
VBA programming is in your hands:
VBA for AutoCAD 2002:
Writing AutoCAD Macros.
Clark ties together AutoCAD's key tools and VBA's
capabilities as never before, showing how AutoCAD and VBA
work together in the real world — and helping you
create real-world applications faster than you ever thought
possible. One step at a time, you'll:
- Take control of AutoCAD: master the fundamentals of
automation, COM, and object-oriented programming
- Get comfortable with AutoCAD's VBA Interactive
Development Environment
- Go under the hood with DXF to understand the structure
of AutoCAD's drawing database
- Master the AutoCAD object model: documents, user
interface, file management, collections, objects, and
beyond
- Automate 2D and 3D graphic objects, external
references, entities, modeled solids, dimensions, and
events
- Use VBA to control PaperSpace, Viewports,
aplotting
- Extend VBA to communicate with other applications and
across the Internet
Deepen your skills with a start-to-finish case study
application that integrates an AutoCAD drawing with a
Microsoft Access database using Microsoft's Data Access
Objects (DAO) technology. VBA for AutoCAD 2002: Writing
AutoCAD Macros also contains concise references to AutoCAD
system and enumerated variables, object inheritance, and
graphical entities. If you're ready to leverage all the
power built into AutoCAD 2002, this is the book you've been
searching for!
Contents
Preface.
Acknowledgements.
I. THE AUTOCAD VBA
ENVIRONMENT.
1. Taking Control of AutoCAD.
2. The VBA Environment.
3. DXF: Key to the Drawing Structure.
4. Elements of the Object Model.
II. USING THE AUTOCAD OBJECT
MODEL.
5. Documents and the User Interface.
6. Collections and Objects.
7. Utility Objects.
9. Entities.
10. Solids.
11. Dimensions.
12. Editing.
13. AutoCAD Events.
14. Forms and Controls.
15. PaperSpace and Plotting.
16. Preferences.
17. Menus.
III. COMMUNICATING WITH OTHER
APPLICATIONS AND THE INTERNET.
18. Extensibility.
19. The Facility Project.
20. The DWF Object Model.
Appendices.
Appendix A: System Variables.
Appendix B: Enums.
Appendix C: Object Inheritance.
Appendix D: DXF Formatting Utility.
Index.