DGNLIb - how to integrate separate DGN's into one file

Hi There,

I am restructuring my Company configuration for the purposes of migrating from v8i to Connect. Our existing DGNLib, as shown below includes multiple files.

What would be desirable, would be to combine these separate files into one integrated DGN file. Is this possible, and if so, how would one go about it?

Thanks

Parents
  • Good day Michel,

    I would have to agree with Jon Summers piling all your settings into one DGNLIB makes it much harder to administrate. You also run a risk with putting all your eggs in one basket if your DGNLIN gets corrupted. So if you go down the "only one DGNLIB" route make sure you back it up before each Update/Import.

    To create one DGNLIB or simply update and keep your existing DGNLIB's current you will simply need to Import the different data from the other DGNLIBS or DGN files.

    F.ex. to Import all the Levels;

    Open/Create the ONE.dgnlib that contains the Level Library to be modified (it should be located in a path defined by MS_DGNLIBLIST). Once loaded, modifications to a Level can be made through the Level Manager. Once the changes have been saved, the Level Library is now updated. Note: If a Level Library has been modified, the changes will not automatically be reflected in the Design Files that have a connection to the particular level or levels that have been modified. In order to have the modifications show in the connected Design Files, a keyin must be used: dgnlib update levels

    In addition to using the key-in, the Level Manager provides a way to update the levels. In order to synchronize the levels in a design file to a level library, you can open the Level Manager and then select the Update Level From Library icon.

    On an administrative side, Level Libraries can only be modified by the person who has permissions to modify *.dgnlib file.

    The above information was found in this WIKI:

    communities.bentley.com/.../8861.levels-and-level-libraries

    To Import Dimension Styles:

    communities.bentley.com/.../16830.how-to-import-dim-styles-from-a-file

    And on it goes until you have imported all the data you need.

    Regards,
    Anders O'Mahony

       

  • Thank you, this is very helpful. I have decided to go with your suggested Approach, and have a slightly different question..

    Under File/Settings/Configuration/Configuration Variables I see that MS_DGNLIBLIST is only applied at the User Level. Once I have attached the desired DGNLIB files, how can I make this applied under the 'Organisation' Level?

    Thanks
  • Hi Michel,
    You can add MS_DGNLIBLIST to your equivalent of "C:\ProgramData\Bentley\CONNECT Edition\Configuration\Organization\standards.cfg" which I'm guessing resides in 00000_config? They will then apply to all WorkSpaces and their Worksets.

    Regards

    Marc

Reply Children
  • I have my configuration file, but could you please explain exactly how one would go about adding the MS_DGNLIBLIST to this?

    Thanks
  • Hi Michel,

    Open the appropriate configuration file in a text editor (I use Notepad++, see Supporting Techniques- Making Configuration Files Legible in Notepad++).

    You can either edit standards.cfg adding entries that you need or add a new file called, for instance, organisationStandards.cfg and put any organisation specific statements in that file so they are separate from the defaults, this approach can make future maintenance easier.

    Out of the box standards.cfg includes the statement

    MS_DGNLIBLIST               > $(_USTN_ORGANIZATION)dgnlib/*.dgnlib

    This includes any dgnlib files in C:\ProgramData\Bentley\CONNECT Edition\Configuration\Organization\Dgnlib. Putting organisation specific dgnlibs in that folder would make them available, doing so in the equivalent folder in your own structure would have the same effect.

    key-in:

    expand echo $(MS_DGNLIBLIST)

    to see in the message center what the variable currently resolves to. This variable is one that can define multiple locations and/or filenames.

    Once you know what is currently defined you should then be able to identify any necessary changes.

    If the configuration variables dialog is showing this is set at user level that suggests you also have an MS_DGNLIBLIST statement in your personal.ucf (located in C:\Users\<username>\AppData\Local\Bentley\MicroStation\10.0.0\prefs)

    For general guidance on the changes from V8i to CONNECT Edition take a look at this PowerPoint presentation:

    MicroStationCONNECTConfiguration.pptx

    101 - DGNLIB (Design File Libraries) gives an overview of dgnlibs (athough the examples are all V8i configuration, the principles are the same).

    Regards

    Marc