Connection to graphical data sources is lost when changing file

Hi,

I am working on GSA project with a graphical source (SQL server spatial). 

The data is located in several DGN files, one for each location.

I have included key-ins to automatically connect to the data sources when opening Bentley Map and to automatically lock the features in the current DGN file.

However if I change DGN file directly without closing and opening Bentley Map my connection to the graphical source is lost.

My initial key-ins are implemented as MS_GEOINITCMD and are only executed when opening Bentley Map.

However does anyone know if it is possible to keep the connection to the graphical source when I change DGN file?

I am using Bentley Map SS4 08.11.09.882.

Thanks.

Parents
  • Jens,

    Adding the following configuration variable...

           GDI_KEEP_CONNECTION_OPEN_ON_FILE_CLOSE=1

    ...to your workspace should preserve the graphical source connection when changing design files.

    Please note that Bentley Map is designed to automatically close the graphical source connection when changing design files. This default behavior ensures that the user connects to the appropriate graphical source for each design file as it is opened. Adding the above configuration variable overrides the default behavior and should be used with care. It is your responsibility to ensure that all opened design files contain data from the same graphical source connection.

    Regards,

    Jeff Bielefeld [Bentley]



    Answer Verified By: Jens Popp Andersen 

Reply
  • Jens,

    Adding the following configuration variable...

           GDI_KEEP_CONNECTION_OPEN_ON_FILE_CLOSE=1

    ...to your workspace should preserve the graphical source connection when changing design files.

    Please note that Bentley Map is designed to automatically close the graphical source connection when changing design files. This default behavior ensures that the user connects to the appropriate graphical source for each design file as it is opened. Adding the above configuration variable overrides the default behavior and should be used with care. It is your responsibility to ensure that all opened design files contain data from the same graphical source connection.

    Regards,

    Jeff Bielefeld [Bentley]



    Answer Verified By: Jens Popp Andersen 

Children
No Data