VbaMan

Works with Bricscad (Windows) Pro and Platinum

Manages VBA projects (short for "visual basic for applications manager").

Accessing the Command

command bar:  vbaman

menu bar:  Tools | VBA | Project Manager

 

: vbaman

Displays a dialog box:

Choose options, and then click Close.

Command Options

Option

Description

Drawing

Lists the names of drawings currently open in Bricscad:

Choose a drawing name from the droplist; the embedded project is listed in the Embedded Project text box, if any.

Embedded Project

Lists the name of the embedded project, if any.

Projects

Name

Lists the names of projects loaded into Bricscad at this time.

Location

Lists the drive and folder names of DVB files.

 

Extract

Removes the project from the current drawing.

Displays dialog box:

  • Yes - displays the Save As dialog box:

    1. Name the project.

    2. Click Save.

  • No - removes the project from the drawing without saving it as a DVB file.

  • Cancel - cancels the command; the project remains in the drawing.

Embed

Embeds a project in the current drawing. If the project is a new one, and has not yet been saved, this option displays the Save As dialog box.

Each drawing can contain just one embedded project; after one project is embedded, the Embed button becomes unavailable. To change embedded projects, use the Extract option to remove the current project.

New

Creates a new VBA project; gives the generic name VbaProject. Use the Save As option to rename and save the DVB project file.

Save As

Saves the selected project by another name. Displays the Save As dialog box:

  1. Enter a file name.

  2. Click Save.

Load

Loads DVB project files.

Displays the Open dialog box:

  1. Choose a DVB file.

  2. Click Open.

See VbaLoad command.

Unload

Unloads the selected project without a warning.

Macros

Displays the Run Bricscad VBA Macro dialog box:

  1. Choose the macro to run.

  2. Click Run.

See VbaRun command.

Visual Basic Editor

Opens the VBA integrated development environment.

See VbaIde command.

Close

Closes the dialog box.

Related Commands

AddInMan - loads and unloads VBA functions through a dialog box.

AppLoad - selects external routines to load when Bricscad starts.

Netload - loads a .NET application.

VbaLoad and -VbaLoad - loads VBA projects.

VbaRun and -VbaRun - runs VBA macros.

VbaIde - opens the VBA integrated development environment.

VbaUnload - unloads VBA projects.

Security - determines whether VBA macros can be run in Bricscad.

 


© Menhirs NV. All rights reserved.