You can use AutoCAD features by using the objects and methods added to the ActiveX Automation interface. This section includes the changes that apply to automation projects created with Visual Basic for Applications (VBA), Visual Basic 6 (VB), and other automation-compatible environments.
For additional information about using features in AutoCAD, see “Use AutoCAD Features”.