AutoCAD VBA Commands

AutoCAD ActiveX

 
AutoCAD VBA Commands
 
 
 
VBAIDE

Brings up the VBA IDE.

The VBA IDE allows you to edit, run, and debug programs interactively. Although the VBA IDE is invoked only when AutoCAD is running, it can be minimized, opened, and closed independent of the AutoCAD Application window.

VBALOAD

Loads a VBA project into the current AutoCAD session.

VBARUN

Runs a VBA macro from the Macros dialog box or from the AutoCAD command line.

VBAUNLOAD

Unloads a VBA project from the current AutoCAD session.

If the VBA project is modified but not saved, the user is asked to save it with the Save Project dialog box (or command line equivalent).

VBAMAN

Displays the VBA Manager allowing you to view, create, load, close, embed, and extract projects.

VBASTMT

Executes a VBA statement from the AutoCAD command line.