Chapter 3Interacting with the Application and Documents Objects

The top object in the AutoCAD® Object library is the AcadApplication object, which allows you to access and manipulate the AutoCAD application window. From the AcadApplication object, you can also access the AcadDocuments collection, which allows you to work with not only the current drawing but all open drawings in the current AutoCAD session. As mentioned in earlier chapters, the ThisDrawing object can be used to access the current drawing.

Working with the Application

The AcadApplication object is the topmost object in the AutoCAD Object library. Although it isn't the most used object, it does provide access to the many features that you will use in VBA projects. All objects ...

Get AutoCAD Platform Customization: VBA now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.