Understanding modules

AutoCAD Map 3D ActiveX

Understanding modules

Modules are windows in the Visual Basic Editor where you write VBA code. The modules have word processing and other features that simplify writing VBA code. There are the following kinds of modules:

Module

Uses

ThisDrawing Simple procedures to extend the functionality of your drawing or project.
Class New object definitions
Standard Procedures and declarations that other modules in your program access frequently
User Form User interface for your macro

Every VBA project starts with a class module called ThisDrawing. ThisDrawing represents the class object that defines the AutoCAD Map drawing.

For step-by-step information about using ThisDrawing and other modules, click .