Bentley Macro Recorder

The Bentley Macro Recorder provides a set of features to allow non-programmers to record and play back macros. It also provides elementary level macro editing features.

The users will record BMR macros just as they recorded macros in the past. Once recorded, the macro is saved as a .bmr file and stored at the location pointed by the MS_MACRONEWFILEDIRECTORY configuration variable.

For experienced VBA programmers, Bentley Macro Recorder provides a way to promote a macro to a VBA.

Macro Recorder Configuration Variables

The following table lists the configuration variables that affect the Bentley Macro Recorder. Each configuration variable expects a valid value. An invalid value will not override a setting. You do not need to close and restart in order for the configuration variable change to take effect.
Variable Short name Description
MS_MACRO Macros Defines the search path for macros.
MS_MACRONEWFILEDIRECTORY Macros Defines the default path where new macros will be saved.
MS_PYTHON Python Interpreter Defines the path to the python interpreter embedded in the product process to run the python script when launching the product.
MS_PYTHONNEWPROJECTDIRECTORY Python New Project Directory Defines the directory where new python files are kept.
MS_PYTHONSAMPLES Python Samples Defines the location of the Python samples in the directory.
MS_PYTHONSCRIPTS Python Scripts Defines a list of paths to search for python files.
MS_PYTHONSEARCHDIRECTORIES Python Search Directories Directories to search for the python file while running keyin 'Python Load *.py'.