Resource-specific .dgnlib configuration variables


Product:

 MicroStation

Version:

CONNECT, 2023, 2024

Environment:

 N\A

Area:

 General

Subarea:

 N/A

 

Background/Overview

The MS_DGNLIBLIST (DGN Library List) Configuration Variable is used to search .dgnlib files for the following resources:
Levels, Line Styles, Text Styles, Dimension Styles, Multiline Styles, Element Templates, Text Favorites, Tables Styles, Report Definitions, Drawing Seeds, Drawing Boundaries, Display Styles, Display Rules, Page Layouts, Saved Views, and Item Types

There are also many resource-specific .dgnlib configuration variables contained in MicroStation that search .dgnlib files for individual resources.

CONFIGURATION VARIABLE SHORT NAME/DESCRIPTION DESCRIPTION
MS_DGNLIBLIST DGN Library List List of DGN library files that are used to find Levels, Line Styles, Text Styles, Dimension Styles, Multiline Styles, Element Templates, Text Favorites, Table Styles, Report Definitions, Drawing Seeds, Drawing Boundaries, Display Styles, Display Rules, Page Layouts, Saved Views, and Item Types for your current session.
MS_DGNLIBLIST_CLASH Process the DGNLIBs for available Clash Detection Interference Jobs and Reports List of DGN library files that are used to find Clash Detection Interference Jobs and Reports for your current session.
MS_DGNLIBLIST_DETAILINGSYMBOLSTYLES Process the DGNLIBs for available Detailing Symbol Styles List of DGN library files that are used to find detailing symbol styles. If this configuration variable is not defined, then the DGN library files will be taken from the MS_DGNLIBLIST_DRAWINGSEEDS configuration variable. If MS_DGNLIBLIST_DRAWINGSEEDS is also not defined, then the DGN Llibrary files will be taken from the MS_DGNLIBLIST configuration variable.
MS_DGNLIBLIST_DIMENSIONSTYLES Process the DGNLIBs for available Dimension Styles List of DGN library files that are used to find dimension styles. If this configuration variable is not defined, then the DGN library files will be taken from the MS_DGNLIBLIST configuration variable.
MS_DGNLIBLIST_DISPLAYSTYLES Process the DGNLIBs for available Display Styles List of DGN library files that are used to find display styles. If this configuration variable is not defined, then the DGN library files will be taken from the MS_DGNLIBLIST configuration variable.
MS_DGNLIBLIST_DRAWINGSEEDS Process the DGNLIBs for available Drawing Seeds List of DGN library files that are used to find drawing seeds. If this configuration variable is not defined, then the DGN library files will be taken from the MS_DGNLIBLIST configuration variable.
MS_DGNLIBLIST_ELEMENTTEMPLATES Process the DGNLIBs for available Element Templates Process the DGNLIB's pointed by MS_DGNLIBLIST_ELEMENTTEMPLATES for available Element Templates
MS_DGNLIBLIST_ITEMTYPES DGN Library Itemtypes List List of DGN library files that are used to find available ItemTypes for your current session.
MS_DGNLIBLIST_LEVELS Process the DGNLIBs for available Levels List of DGN library files that are exclusively used to set Level definitions for your current session.
MS_DGNLIBLIST_LINESTYLES Process the DGNLIBs for available Line Styles List of DGN library files that are used to find line styles. If this configuration variable is not defined, then the DGN library files will be taken from the MS_DGNLIBLIST configuration variable.
MS_DGNLIBLIST_LINKS DGN Library List for Link Set files List of DGN library files that are used to find Sheet Indexes and Link Sets for your current session.
MS_DGNLIBLIST_PRINTING DGN Library List for Print Styles List of DGN library files that are used to find Print Styles for your current session.
MS_DGNLIBLIST_RENDER DGN Library List for Rentering tasks List of DGN library files that are used to find Rendering Setups, Materials, and Lights for your current session.
MS_DGNLIBLIST_TEXTFAVORITES Process the DGNLIBs for available Text Favorites List of DGN library files that are used to find text favorites. If this configuration variable is not defined, then the DGN library files will be taken from the MS_DGNLIBLIST configuration variable.
MS_DGNLIBLIST_TEXTSTYLES Process the DGNLIBs for available Text Styles List of DGN library files that are used to find text styles. If this configuration variable is not defined, then the DGN linrary files will be taken from the MS_DGNLIBLIST configuration variable.

 

Note - when a resource-specific .dgnlib configuration variable is defined, that specific resource will only be read in .dgnlib files through the resource-specific configuration variable.
MicroStation will no longer gather that same resource from the regular MS_DGNLIBLIST config variable.
This is useful particularly for Levels - for example, some .dgnlib files may contain extraneous or duplicate levels and cleaning them would be a tedious job. Setting the MS_DGNLIBLIST_LEVELS variable will read Levels only from specific .dgnlib files and will ensure MS_DGNLIBLIST does not read levels.

Example Configuration Scenario:
MS_DGNLIBLIST_DISPLAYSTYLES is set to read some .dgnlib files containing Display Styles.
D:/Example/Directory/For/DisplayStyles/*.dgnlib

MS_DGNLIBLIST is also set to read .dgnlib files for other resources. Some Display Styles happen to be contained in these files, but are not needed.
E:/Standards/Dgnlib/*.dgnlib

In this scenario, the only Display Styles shown in the UI will be those contained in the .dgnlib files read by MS_DGNLIBLIST_DISPLAYSTYLES. 
Display Styles in any other .dgnlib file will be ignored.

See Also

 

Other language sources

 

Italian

 

Original Author:

Bentley Technical Support Group