user pref file

Hi,

how to make my personal.ucf is written in the same directory as my personal...UPF (on the network)

I've created:

_USTN_HOMEROOT                     =     $(_USTN_ORGANIZATION)USERS/$(USERNAME)/$(computername)/

_USTN_LocalUserAppDataPath         =  $(_USTN_HOMEROOT)/

but still the personal.ucf is written to:

C:\.....\AppData\Local\Bentley\OpenBuildingsDesigner\10.0.0\prefs  (on the computer where OBD is installed)

what other variable do I have to change too

regards,

Rik

Parents Reply
  • Hi Rik,

    To change the location of all user preferences files including the UCF try the following:

    1. Create prefs folder in desired location containing a .UCF file, it can be empty or pre-populated. For example:
      "D:\OBD_User\prefs\personal.ucf"
    2. Add the following configuration statements to WorkSpaceSetup.cfg:

      %undef _USTN_USERCFG
      _USTN_USERCFG = $(_USTN_HOMEPREFS)/Personal.ucf
      _USTN_HOMEROOT = D:/OBD_User/

    The reason for using WorkSpaceSetup.cfg is that file is in the Custom Configuration so Bentley's system files are not modified. The %undef _USTN_USERCFG statement is essential to clear the default value.

    Obviously choose your own paths.

    As previously mentioned we strongly recommend that user preferences are stored on the local drive and that relocation of preferences files is carried out with the support of IT systems that synchronize the local instance with a server copy, Windows Virtual Profiles for instance.

    Regards

    Marc

Children