Описание книги
VBA is the Key to Automating Your Work and Reusability in AutoCAD… ...and Mastering AutoCAD VBA unlocks the secrets to VBA programming, teaching you everything you need to know to write macros, customize your interface, and even develop independent applications that will speed your work and enhance your results. Written specifically for AutoCAD users, this book is filled with detailed examples that often walk you through the manual approaches to tasks, then show you—step by step—the VBA techniques that can get you there faster. Coverage includes: Creating, debugging, and editing code using the Visual Basic Editor Using variables and constants to store information Writing code using AutoCAD object properties, methods, and event procedures Repeating sections of code and designing code to be run conditionally Creating drawings from macros Automating tasks with templates and VBA macros Developing Windows applications to interface with AutoCAD Adding new menu commands to your AutoCAD environment Setting grid and snap spacing from a macro Combining primitive solids using union, intersection, and subtraction Creating solids using extrusion and revolution Performing hidden-line removal and rendering Creating ActiveX controls for exchanging data with other applications Using AutoCAD 2000i's Internet features to upload/download web files Readying drawings for the Internet using the «Publish to Web» wizard Using hyperlinks in drawings that lead to local or Web