Hi,
we use a company configuration on a domain server,
now I've defined: _USTN_INSTALLED_CONFIGURATION=B:/Connect/Configuration/ #signum in the main msdir.cfg in the program folder.
Is this the right place to define this, or is there a better way?
second problem: while we are in the office, the Bentley data is on our B:\ drive, home-working: use a VPN connection to the server, B:\ drive is connected,on the road: we have a local limited copy ( of the "configuration directory) on the laptop
haw to set up the cfg (what is the best place & cfg file) to ask: " if B:\ is connected : use this B:\ directory else: use the local configuration
win10pro / OBD 10.06.03.04regards Rik
We do not encourage people to edit msdir.cfg.
I assume you have read this article.
https://communities.bentley.com/products/building/building_analysis___design/w/building_analysis_and_design__wiki/42784/configuring-multiple-configuration-folders
Brenden Roche
Applications Engineer
Bentley Systems, Manchester UK
I've tried to create the startup shortcut, on starting the shortcut I get the error: "FILE" does not existlike in the wiki said I've added: the Path after the "Target"
like:
"C:\Program Files\Bentley\OpenBuildings CONNECT Edition\OpenBuildingsDesigner\OpenBuildingsDesigner.exe" -ws _USTN_INSTALLED_CONFIGURATION=A:\Connect\Configuration/
same for:
"C:\Program Files\Bentley\OpenBuildings CONNECT Edition\OpenBuildingsDesigner\OpenBuildingsDesigner.exe" -ws _USTN_INSTALLED_CONFIGURATION=A:\Connect\Configuration\WorkSpaceSetup.cfg
the path and the file are correct spelled.WorkSpaceSetup.cfg
file included
what is wrong?
and: I want to read this configuration in the "configuration explorer"
how to add the correct workspace in the "application manager" to verify this configuration.
Rik
Hi Rik,
_USTN_INSTALLED_CONFIGURATION points to the default configuration installed with the product. This is not the appropriate variable for your purpose and we recommend that it is not changed.
The variable to work with is _USTN_CUSTOM_CONFIGURATION set in C:\ProgramData\Bentley\<application name>\Configuration\ConfigurationSetup.cfg.
Once ConfigurationSetup.cfg has been edited appropriately the application will be redirected to the network configuration for all other custom configuration, resources etc. It is not necessary to modify any of the system configuration files elsewhere on the C:\drive.
Please see these wiki articles for more information on this file and it's behaviour:
CONNECT Edition - What does _USTN_USER_CONFIGURATION do?
CONNECT Edition - Configuration Tips : Should I edit ConfigurationSetup.cfg?
In the [General] section of ConfigurationSetup.cfg you can include something like this:
[General]%if exists (B:\Connect\Configuration\)# use network configuration_USTN_CUSTOM_CONFIGURATION=B:\Connect\Configuration\
%else# use local drive configuration_USTN_CUSTOM_CONFIGURATION=C:\Connect\Configuration\
%endif
I need to check this syntax with a similar example,, but that demonstrates the principle.
Marc
thanks Mark,
can you update the links, because the don't work
This configuration works well, but:
I 've defined: _USTN_HOMEROOT = $(_USTN_ORGANIZATION)USERS/$(USERNAME)/$(computername)/so my prefs are saved on the server (or local) in a directory with my computername
if the previous session was on the server, and the next is local,these prefs are not found,so OBD starts with default settings and my second screen, my dockings are gone
can this be solved too
Regards Rik
I did a quick test just now to get the syntax right. The following example will use configuration AA, then if folder C:/AA_Configuration/ is unavailable will go to BB, then if that is unavailable will undefine _USTN_CUSTOM_CONFIGURATION and go to the Bentley Example configuration.
[General]%if exists (C:/AA_Configuration/)_USTN_CUSTOM_CONFIGURATION = C:/AA_Configuration/%else%if exists (C:/BB_Configuration/)_USTN_CUSTOM_CONFIGURATION = C:/BB_Configuration/%endif%else_USTN_CUSTOM_CONFIGURATION = %endif
If your example this would be:
%else# use local drive configuration%if exists (C:\Connect\Configuration\)_USTN_CUSTOM_CONFIGURATION=C:\Connect\Configuration\%endif%else# revert to Bentley example configuration_USTN_CUSTOM_CONFIGURATION = %endif
Regarding preferences, you could try locating them in a OneDrive or similar folder.
The links are updated, don't know what happened there.