Autocad 2004 Vba: A Programmer's Reference

by
Format: Paperback
Pub. Date: 2003-12-01
Publisher(s): Springer-Verlag New York Inc
List Price: $59.99

Rent Book

Select for Price
There was a problem. Please try again later.

New Book

We're Sorry
Sold Out

Used Book

We're Sorry
Sold Out

eBook

We're Sorry
Not Available

How Marketplace Works:

  • This item is offered by an independent seller and not shipped from our warehouse
  • Item details like edition and cover design may differ from our description; see seller's comments before ordering.
  • Sellers much confirm and ship within two business days; otherwise, the order will be cancelled and refunded.
  • Marketplace purchases cannot be returned to eCampus.com. Contact the seller directly for inquiries; if no response within two days, contact customer service.
  • Additional shipping costs apply to Marketplace purchases. Review shipping costs at checkout.

Summary

VBA allows you to take complete control of AutoCAD and to automate all your AutoCAD drawing tasks. With VBA you can automate and customize everything you do in Auto CAD 2000, so you can work faster and more efficiently. AutoCAD 2004 VBA provides a unique opportunity to build custom applications to create and manipulate AutoCAD drawings, interact with a user and plot your drawings. You can even use VBA to create designs that modify themselves based on user input or computational results.This book provides you with a complete reference to the AutoCAD VBA language.This book is for anyone who wants to take full advantage of the VBA programming language that comes with AutoCAD 2004. If you're new to VBA programming, this book will give you enough information to start making AutoCAD work for you. This book is also intended for power users who want to take advantage of the advanced features of AutoCAD 2004 VBA and who need a fast reference to the full AutoCAD object model.

Table of Contents

About the Author xiii
Acknowledgements xv
Introduction xvii
The VBA Integrated Development Environment (VBAIDE)
1(28)
Visual Basic Concepts
1(3)
Starting the Editor
4(1)
Exploring the User Interface
4(7)
Managing Projects
11(13)
Using the Text Editor
24(3)
Summary
27(2)
Introduction to Visual Basic Programming
29(40)
Variables
29(10)
Modules
39(2)
Procedures
41(3)
Control Structures
44(4)
Loop Structures
48(4)
Nested Control Structures
52(1)
Exiting a Control Structure
53(1)
Exiting a Sub or Function Procedure
54(1)
Application Writing Techniques
55(2)
Overview of Object-Oriented Programming
57(11)
Summary
68(1)
Application Elements
69(18)
Designing a UserForm
69(3)
Adding a Control to a Form
72(3)
Visual Basic ActiveX Controls
75(8)
Additional ActiveX Controls
83(3)
Summary
86(1)
AutoCAD Events
87(10)
Application-Level Events
87(3)
Document-Level Events
90(4)
Object-Level Events
94(1)
Summary
95(2)
User Preferences
97(12)
Getting and Setting Support Path(s)
99(1)
Controlling Cursor Size
100(1)
Getting and Setting the AutoSaveInterval Property
101(1)
Getting and Setting the Drawing Template File Path
101(1)
Getting and Setting Plotter Configuration Path Settings
102(1)
Getting and Setting the File SaveAs Type
103(2)
Enabling or Disabling the Startup Dialog Box
105(1)
Saving and Retrieving Personal Preferences
106(1)
User Preferences Changes in AutoCAD 2004
107(1)
Summary
108(1)
Controlling Layers and Linetypes
109(28)
Layers
109(16)
Linetypes
125(11)
Summary
136(1)
User Interaction and the Utility Object
137(40)
The Utility Object
137(38)
Summary
175(2)
Drawing Objects
177(38)
Controlling the Drawing Space
177(2)
Creating Objects
179(34)
Summary
213(2)
Creating 3-D Objects
215(38)
The 3DSolid Object
215(2)
Creating Simple Solid Objects
217(10)
Creating Elliptical 3-D Objects
227(5)
Creating Extruded and Revolved Objects
232(8)
Editing Solids
240(9)
Analyzing Solids: Mass Properties
249(2)
Summary
251(2)
Editing Objects
253(30)
Editing with Methods
253(23)
Editing with Properties
276(6)
Summary
282(1)
Dimensions and Annotations
283(34)
Dimensions
283(17)
The Tolerance Object
300(3)
Annotations
303(13)
Summary
316(1)
Selection Sets and Groups
317(30)
Selection Sets
317(23)
Groups
340(6)
Summary
346(1)
Blocks, Attributes, and External References
347(42)
Blocks and Block References
348(28)
Attributes
376(11)
Summary
387(2)
Views and Viewports
389(20)
Views
389(5)
Viewports
394(13)
Summary
407(2)
Layout and Plot Configurations
409(22)
The Plot Object
409(20)
Summary
429(2)
Controlling Menus and Toolbars
431(34)
The MenuGroups Collection
432(3)
The MenuGroup Object
435(29)
Summary
464(1)
Drawing Security
465(8)
Digital Signatures
465(6)
Password Protection
471(1)
Summary
472(1)
Using the Windows API
473(14)
Declarations
473(1)
Windows Data Structures
474(1)
DLL to Visual Basic Calling Conventions
474(2)
Specifying the Library
476(1)
The Major Windows DLLs
477(1)
Working with Windows API Procedures That Use Strings
478(1)
Passing Arguments by Value or by Reference
478(1)
Learning by Example
479(7)
Summary
486(1)
Connecting to External Applications
487(14)
Making the Connection
487(3)
Connecting to Microsoft Excel
490(2)
Connecting to Microsoft Word
492(2)
Connecting to a Microsoft Access Database
494(5)
Summary
499(2)
Appendix A AutoCAD Object Summary
501(262)
AutoCAD Object Reference
518(245)
Appendix B AutoCAD Constants Reference
763(44)
Ac3DPolylineType
763(1)
AcActiveSpace
763(1)
AcAlignment
764(1)
AcAlignmentPointAcquisition
765(1)
AcAngleUnits
765(1)
AcARXDemandLoad
766(1)
AcAttachmentPoint
766(1)
AcAttributeMode
767(1)
AcBooleanType
768(1)
AcColor (and the ColorIndex Property of the AcCmColor Object)
768(1)
AcCmColor
769(1)
AcCoordinateSystem
770(1)
AcDimArrowheadType
770(1)
AcDimCenterType
771(1)
AcDimFit
772(1)
AcDimFractionType
772(1)
AcDimHorizontalJustification
773(1)
AcDimLUnits
773(1)
AcDimPrecision
774(1)
AcDimTextMovement
775(1)
AcDimToleranceJustify
775(1)
AcDimToleranceMethod
776(1)
AcDimUnits
776(1)
AcDimVerticalJustification
777(1)
AcDrawingAreaSCMCommand
778(1)
AcDrawingAreaSCMDefault
778(1)
AcDrawingAreaSCMEdit
779(1)
AcDrawingDirection
779(1)
AcEntityName
780(1)
AcExtendOption
781(1)
AcHatchObjectType
782(1)
AcHatchStyle
782(1)
AcHorizontalAlignment
783(1)
AcInsertUnits
784(1)
AcISOPenWidth
785(1)
AcKeyboardAccelerator
785(1)
AcKeyboardPriority
786(1)
AcLeaderType
786(1)
AcLineSpacingStyle
787(1)
AcLineWeight
787(2)
AcLoopType
789(1)
AcMenuFileType
789(1)
AcMenuGroupType
789(1)
AcMenuItemType
790(1)
AcOleQuality
790(1)
AcPatternType
790(1)
AcPlotPaperUnits
791(1)
AcPlotPolicy
791(1)
AcPlotRotation
792(1)
AcPlotScale
792(2)
AcPlotType
794(1)
AcPolylineType
794(1)
AcPolymeshType
795(1)
AcPreviewMode
795(1)
AcPrinterSpoolAlert
796(1)
AcProxyImage
796(1)
AcRegenType
796(1)
AcSaveAsType
797(1)
AcSelect
798(1)
AcTextFontStyle
799(1)
AcTextGenerationFlag
799(1)
AcToolbarDockStatus
800(1)
AcToolbarItemType
800(1)
AcUnits
801(1)
AcVerticalAlignment
801(1)
AcViewportScale
802(1)
AcViewportSplitType
803(1)
AcWindowState
804(1)
AcXRefDemandLoad
805(1)
AcZoomScaleType
805(2)
Appendix C System Variables
807(30)
Appendix D AutoCAD 2000, 2002, and 2004 Object Model Cross Reference
837(36)
Objects Comparison
837(4)
Methods Comparison
841(9)
Properties Comparison
850(19)
Events Comparison
869(4)
Index 873

An electronic version of this book is available through VitalSource.

This book is viewable on PC, Mac, iPhone, iPad, iPod Touch, and most smartphones.

By purchasing, you will be able to view this book online, as well as download it, for the chosen number of days.

Digital License

You are licensing a digital product for a set duration. Durations are set forth in the product description, with "Lifetime" typically meaning five (5) years of online access and permanent download to a supported device. All licenses are non-transferable.

More details can be found here.

A downloadable version of this book is available through the eCampus Reader or compatible Adobe readers.

Applications are available on iOS, Android, PC, Mac, and Windows Mobile platforms.

Please view the compatibility matrix prior to purchase.