[Updated 31 March 2022]
We discourage manual editing of this file as it is written to by CONNECT Edition applications during active sessions, updating the value of _USTN_CONFIGURATION (in the [Set Configuration] section of the file) to correspond to the active WorkSpace selected in the User Interface.
In nearly all circumstances specifying the Custom Configuration via the installer User Interface is the only method that should be needed to change ConfigurationSetup.cfg for both manual and deployed installations:
Setting a path at this point in the installation results in that path being written to the [General] section of the file, e.g.:
_USTN_CUSTOM_CONFIGURATION=//HAL/configurations/MCE/
(The installer formats the input path)
If the location of the Custom Configuration changes after installation it is possible to modify this path via a text editor. This is not yet possible via the modify installation process.
Also see: CONNECT Edition - Custom Configuration - Part 1 : Initial Creation Steps
If an existing ConfigurationSetup.cfg does need to be modified refer to the active statements in the delivered file which are (from MicroStation 16.1 onwards; previously the _USTN_CONFIGURATION value was a hardcoded path):
[General]
_USTN_CUSTOM_CONFIGURATION=
[SetConfiguration]
%if !defined (_USTN_USER_CONFIGURATION)
%if defined (_USTN_CUSTOM_CONFIGURATION) && ($(_USTN_CUSTOM_CONFIGURATION) != "") && exists ($(_USTN_CUSTOM_CONFIGURATION))
_USTN_CONFIGURATION = $(_USTN_CUSTOM_CONFIGURATION)
%endif
To manually edit the file:
Once edited the file can be distributed to users using methods described in CONNECT Edition - Deploying or Updating ConfigurationSetup.cfg
ConfigurationSetup.cfg is one of the few configuration files that MicroStation modified dynamically. Its contents store the active Configuration selected by a user. This is either the local Configuration on the C:\ drive (unless another installation location was specified) or the user organization’s Custom Configuration.
The file can existing in three states:
Out of the box ConfigurationSetup.cfg looks like this:
#----------------------------------------------------------------------
# ConfigurationSetup.cfg - Configures the root Configuration directory
# for Your Organization
#
# The main function of this configuration file is to allow user to specify
# the root Configuration directory to activate. The active Configuration
# directory is represented by _USTN_CONFIGURATION. By default, it points to
# the installed Configuration defined by _USTN_INSTALLED_CONFIGURATION,
# which can consist of example WorkSpaces and WorkSets.
# If your organization has its own Configuration directory, you can define
# _USTN_CUSTOM_CONFIGURATION to that directory path and use it as follows.
#_USTN_CUSTOM_CONFIGURATION = D:/.../MyConfiguration/
#_USTN_CONFIGURATION : ${_USTN_CUSTOM_CONFIGURATION}
# START: The section defines user selection at the time of installation.
# These lines are generated by installer.
[General]_USTN_USER_CONFIGURATION_LABEL=
(Note that the optional use of _USTN_USER_CONFIGURATION_LABEL is described in Configuration Tips: What does _USTN_USER_CONFIGURATION do?)
The [SetConfiguration] section opens with a check that _USTN_USER_CONFIGURATION is not defined; if it is defined the whole [SetConfiguration] section is ignored and the application does not make any changes to the file.
If a Custom Configuration location is specified during installation (as described above), the specified value is written to the “_USTN_CUSTOM_CONFIGURATION=” statement, the [SetConfiguration] section takes effect and the application will look for the Custom Configuration at the location specified by the value of _USTN_CUSTOM_CONFIGURATION.
In the following example the Custom Configuration location \\server\CONFIGURATIONS\CE\ was entered during installation.
From the application UI the user selected the OpenBuildings Designer Example WorkSpace on the C:\ drive so the value of _USTN_CONFIGURATION in the [SetConfiguration] section was changed from $(_USTN_CUSTOM_CONFIGURATION) to $(_USTN_INSTALLED_CONFIGURATION):
_USTN_CUSTOM_CONFIGURATION=//server/CONFIGURATIONS/CE/
_USTN_CONFIGURATION = $(_USTN_INSTALLED_CONFIGURATION)
Next, the user selected a WorkSpace located in the Custom Configuration, so the value of _USTN_CONFIGURATION in the [SetConfiguration] section was changed from $(_USTN_INSTALLED_CONFIGURATION) to $(_USTN_CUSTOM_CONFIGURATION):
Translated German Wiki article:CONNECT Edition - Konfigurationstipps: Soll ich ConfigurationSetup.cfg bearbeiten?
If you need to make changes to the configuration settings, a home contractor near me recommended using the software's built-in configuration tools or user interface. This way, the changes are made in a controlled and predictable manner, and the software can still be easily maintained and updated.
Robert, sorry not to have replied to this comment earlier, two edits should be made as highlighted above (I've added highlighting to make this clearer).
Mark,
I am trying to switch the location of my custom configuration to a different folder on my server. I manually edit the ConfigurationSetup.cfg on the c:\ drive and add a new folder path to the "_USTN_CUSTOM_CONFIGURATION=" variable, but after making these manual edits I am unable to have CONNECT point to the new folder location. Is there something else I am missing? Is a system reboot needed after editing this file manually? I am not sure why I am unable to point to the new location.
Rob