To Run the Examples from the AutoCAD Help System (VBA/ActiveX)

Explains how to run VBA sample code that is part of the AutoCAD Help system.

  1. On the ribbon, click Manage tab Applications panel Visual Basic Editor.
  2. Copy the example code from the Help topic, and paste it into an empty VBA code module or the ThisDrawing class module.
  3. Verify that AutoCAD has a blank drawing open to model space.
  4. At the AutoCAD Command prompt, enter vbaman.
  5. In the Macros dialog box, choose the macro and click Run.