You can view all the VBA projects loaded in the current AutoCAD session by using the VBA Manager. It is an AutoCAD tool that allows you to load, unload, save, create, embed, and extract VBA projects.
Share
About Organizing Your Projects with the VBA Manager (ActiveX)
Topics in this section
- About Loading an Existing Project
When you load a project into AutoCAD, all the public subroutines, also called macros, become available for use. Projects embedded in a drawing are loaded whenever the drawing is opened. Projects stored in DVB files must be loaded explicitly. - About Unloading a Project (VBA/ActiveX)
Unloading a project frees up memory and keeps the list of loaded projects at a length that is easy to manage. - About Embedding a Project into a Drawing (VBA/ActiveX)
When you embed a project you place a copy of the project in the drawing database. The project is then loaded or unloaded whenever the drawing containing it is opened or closed. - About Extracting a Project from a Drawing (VBA/ActiveX)
When you extract a project you remove the project from the drawing database and are given the opportunity to save the project in an external project file. If you do not save the file in an external project file, the project data will be deleted. - About Creating a New Project (VBA/ActiveX)
New projects are created as unsaved global projects. Once a project has been created, you can then embed the project in a drawing, or save the project out to a project file. - Saving Your Project (VBA/ActiveX)
Embedded projects are saved whenever the drawing is saved. Global projects must be saved using the VBA Manager or the VBA IDE. - To Open the VBA Manager (VBA/ActiveX)
The VBA Manager allows you to edit, step through, and execute a macro in a VBA project.
Related Concepts
- About Creating a New Project (VBA/ActiveX)
- About Naming Your Project (VBA/ActiveX)
- Saving Your Project (VBA/ActiveX)
- About Loading an Existing Project
- About Unloading a Project (VBA/ActiveX)
- About Embedded and Global VBA Projects (VBA/ActiveX)
- About Embedding a Project into a Drawing (VBA/ActiveX)
- About Extracting a Project from a Drawing (VBA/ActiveX)
- About Referencing Other VBA Projects (VBA/ActiveX)
- About Handling Your Macros (VBA/ActiveX)
- Exercise: An Introduction to VBA (VBA/ActiveX)