Home Page Icon
Home Page
Table of Contents for
End User License Agreement
Close
End User License Agreement
by Lee Ambrosius
AutoCAD Platform Customization: VBA
Title Page
Copyright
Dedication
Acknowledgments
About the Author
Introduction
About This Book
Is This Book for You?
VBA in AutoCAD
What to Expect
Other Information
Styles and Conventions of This Book
Contacting the Author
Chapter 1: Understanding the AutoCAD VBA Environment
What Makes Up an AutoCAD VBA Project?
What You'll Need to Start
Getting Started with the VBA Editor
Managing VBA Programs
Executing VBA Macros
Accessing the AutoCAD VBA Documentation
Chapter 2: Understanding Visual Basic for Applications
Learning the Fundamentals of the VBA Language
Exploring Data Types
Comparing Values
Conditionalizing and Branching Statements
Repeating and Looping Expressions
Chapter 3: Interacting with the Application and Documents Objects
Working with the Application
Managing Documents
Working with System Variables
Querying and Setting Application and Document Preferences
Executing Commands
Exercise: Setting Up a Project
Chapter 4: Creating and Modifying Drawing Objects
Understanding the Basics of a Drawing-Based Object
Accessing Objects in a Drawing
Working with Model or Paper Space
Creating Graphical Objects
Getting an Object in the Drawing
Modifying Objects
Changing Object Properties
Exercise: Creating, Querying, and Modifying Objects
Chapter 5: Interacting with the User and Controlling the Current View
Interacting with the User
Selecting Objects
Performing Geometric Calculations
Changing the Current View
Exercise: Getting Input from the User to Draw the Plate
Chapter 6: Annotating Objects
Working with Text
Dimensioning Objects
Creating and Modifying Geometric Tolerances
Adding Leaders
Organizing Data with Tables
Creating Fields
Exercise: Adding a Label to the Plate
Chapter 7: Working with Blocks and External References
Managing Block Definitions
Inserting and Working with Block References
Managing External References
Listing File Dependencies
Exercise: Creating and Querying Blocks
Chapter 8: Outputting Drawings
Creating and Managing Layouts
Displaying Model Space Objects with Viewports
Controlling the Output of a Layout
Plotting and Previewing a Layout
Exporting and Importing File Formats
Exercise: Adding a Layout to Create a Check Plot
Chapter 9: Storing and Retrieving Custom Data
Extending Object Information
Creating and Modifying a Custom Dictionary
Storing Information in the Windows Registry
Exercise: Storing Custom Values for the Room Labels Program
Chapter 10: Modifying the Application and Working with Events
Manipulating the AutoCAD User Interface
Using External Custom Programs
Working with Events
Exercise: Extending the User Interface and Using Events
Chapter 11: Creating and Displaying User Forms
Adding and Designing a User Form
Placing and Arranging Controls on a User Form
Changing the Appearance of a User Form or Control
Defining the Behavior of a User Form or Control
Displaying and Loading a User Form
Exercise: Implementing a User Form for the DrawPlate Project
Chapter 12: Communicating with Other Applications
Referencing a Programming Library
Creating and Getting an Instance of an Object
Accessing a Drawing File from outside of AutoCAD
Working with Microsoft Windows
Reading and Writing Text Files
Parsing Content in an XML File
Working with Microsoft Office Applications
Exercise: Reading and Writing Data
Chapter 13: Handling Errors and Deploying VBA Projects
Catching and Identifying Errors
Debugging a VBA Project
Deploying a VBA Project
Exercise: Deploying the DrawPlate VBA Project
End User License Agreement
Search in book...
Toggle Font Controls
Playlists
Add To
Create new playlist
Name your new playlist
Playlist description (optional)
Cancel
Create playlist
Sign In
Email address
Password
Forgot Password?
Create account
Login
or
Continue with Facebook
Continue with Google
Sign Up
Full Name
Email address
Confirm Email Address
Password
Login
Create account
or
Continue with Facebook
Continue with Google
Prev
Previous Chapter
Chapter 13: Handling Errors and Deploying VBA Projects
WILEY END USER LICENSE AGREEMENT
Go to
www.wiley.com/go/eula
to access Wiley's ebook EULA.
Add Highlight
No Comment
..................Content has been hidden....................
You can't read the all page of ebook, please click
here
login for view all page.
Day Mode
Cloud Mode
Night Mode
Reset