- Shopping Bag ( 0 items )
Ships from: Chicago, IL
Usually ships in 1-2 business days
Ships from: Phoenix, AZ
Usually ships in 1-2 business days
Customizing AutoCAD is easy when you know how to use Visual Basic for Applications (VBA), the powerful programming language which Autodesk has integrated into AutoCAD R14.01. With VBA, you can develop applications for automating AutoCAD functions and exchanging data between AutoCAD and other Windows applications. Using Visual Basic with AutoCAD shows you how to quickly develop Visual Basic macros to drive AutoCAD and increase your productivity by automatically updating quantity tables, bills of material and other spreadsheet, database, and word-processing data. This book instructs the user how to effectively use both VBA and stand-alone Visual Basic with AutoCAD, and also serves as a reference to the Visual Basic language. It is a must for every AutoCAD R14 user, professional or student. Keywords: Visual Basic
Introduction. WHY USE VISUAL BASIC: Why Customize at All? Customization Options for AutoCAD: User Defined Commands, AutoLISP, ADS, ARX, DIESEL, SQL. Other. Advantages of Visual Basic. Limitations of Visual Basic. Versions of Visual Basic: VB Standard, Professional, and Enterprise Editions. VB for Applications. Getting Started: Installing and Starting Visual Basic for Applications. Exploring the Visual Basic Environment: The Main Window, The Project Window, The Form Window and the Toolbox, The Properties Window. Creating a Simple Visual Basic Program: The Pipe Flow Calculator. Using Online Help. Obtaining More Support. Visual Basic Fundamentals: Variables and Constants: Data Types, Declaring Variables, Creating User Defined Types. Statements, Expressions, and Procedures: Assignment Statements. Expressions and Operators. Procedures. Using Forms: Visual Basic Objects, Types of Forms, Other Visual Basic Tools. Using Controls: Events and Trigger Actions, Presenting Choices to the User, Displaying and Entering Text, Setting the Focus of an Object. Using Menus and Dialog Boxes: Creating Menus. Working with Dialog Boxes. Recording Macros. Writing Code. Advanced Visual Basic Topics: Program Control and Logic: If...Then Blocks. Select Case Structures. Looping: Do Loops, For...Next Loops. Using Arrays: Why Use Arrays? Array Dimensions, Array Controls. File Input and Output: File Access Types: Random, Sequential, and Binary, Reading From a File, Writing to a File. Graphics Programming: Raster vs. Vector Graphics, Screen Properties, Writing to the Screen with Visual Basic. The Windows API: What is the API? Dynamic Link Library (DLL), User Defined Functions. ActiveX Documents. Creating Online Help: Help Files, Context Sensitive Help. Using Standalone Visual Basic Program: Designing a Standalone Application: Planning Your Application, Making It Reliable, Making It User Friendly, Making It Look Good, Testing. Refining the Pipe Flow Calculator Example. Creating and EXE File. Using Your Program within AutoCAD. Distributing a Standalone Application. Dynamic Data Exchange (DDE): What is DDE? Elements of a DDE Conversation: Clients and Servers, Application Names, Topics, and Items, Link Properties and Events. Requesting Data from AutoCAD. Sending Data to AutoCAD. Sending Keystrokes to AutoCAD. A Sample DDE Application. Object Linking and Embedding (OLE): What is OLE? OLE Objects: Embedding an Object, Linking an Object. OLE Automation. Controlling and Communicating with AutoCAD. Controlling and Communicating with Other Applications. A Sample OLE Application. Exchanging Spreadsheet Data with AutoCAD: Reading Data from a Spreadsheet. Writing Data to a Spreadsheet. A Sample Spreadsheet Application: A Bill of Materials. Exchanging Word-Processing Information with AutoCAD: Reading Data from a Word Document. Writing Data to a Word Document. A Sample Word-Processing Application: A Surveying Legal Description. Exchanging Database Information with AutoCAD: Reading Data from a Database File. Writing Data to a Database File. A Sample Database Application: A Manufacturing Inventory. Using Visual Basic with AutoLISP: Creating a VB Front End" for an AutoLISP Routine. Opening a DDE Channel. Accepting Arguments with AutoLISP. Writing Data with AutoLISP. Building a Selection Set with AutoLISP. A Sample Application Using AutoLISP and Visual Basic. Debugging Programs: Debugging Tools. Debugging Techniques. The Debug Window. Error Handling. VISUAL BASIC FOR APPLICATION LANGUAGE REFERENCE: Listing of Commands, Functions, and Statements. Description of Commands, Functions, and Statements. APPENDICES: Appendix A: Error Message. Appendix B: ASCII and Unicode Tables. Appendix C: Using Visual Basic with Other Autodesk Products. Appendix D: Using the CD-ROM. INDEX.
Posted December 7, 1999
This book is a good reference for implementing VBA. However, it attempts to cover too much in too few pages. It could use a lot more example code. I would like to see a book focused, in depth, on using VBA within AutoCAD to automate drawing and detailing.Was this review helpful? Yes NoThank you for your feedback. Report this reviewThank you, this review has been flagged.
Posted February 7, 2010
No text was provided for this review.