Basic Microstation configuration files

By dgnviewer.com

The following information covers the content of MicroStation’s configuration files, and the order in which they are processed. This will help you to decide the level at which you want to start control of the workspace. In this section, we will open the MicroStation configuration files MSLOCAL.CFG and MSCONFIG.CFG.

Review MSLOCAL.CFG and MSCONFIG.CFG

  • In Windows Explorer, navigate to the following folder: C:\Program Files (x86)\Bentley\MicroStation V8i (SELECTseries)\MicroStation\config\ Here, you’ll find the system-level configuration files.
  • Open the file MSLOCAL.CFG in Notepad or Notepad ++. MSLOCAL.CFG is the first file opened by MicroStation. You will see the following macro code:
%include msdir.cfg
_USTN_WORKSPACEROOT : ${_USTN_INSTALLED_WORKSPACEROOT} 
MSDIR : ${MSDIR_INSTALLED}
%include $(MSDIR)config/msconfig.cfg

This file opens and processes MSDIR.CFG then sets _USTN_WORKSPACEROOT or where to look for workspace files. Then sets the folder where MicroStation binary files are located and then opens and processes MSCONFIG.CFG.

  • Close MSLOCAL.CFG.
  • Open the file MSDIR.CFG in Notepad or Notepad++.
  • You will see the following macro code:
[General]
_USTN_INSTALLED_WORKSPACEROOT=C:\ProgramData\Bentley\MicroStation V8i (SELECTseries)\WorkSpace/ MSDIR_INSTALLED=${_ROOTDIR}
MS_PRODUCTCODEGUID={B234DC00-1003-47E7-8111-230AA9E6BF10}

This file sets the installed workspace root and installed folder for MicroStation binaries. A GUID is a Globally Unique Identifier, which is a unique reference number to identify classes and interfaces of COM objects.

  • Close MSDIR.CFG.