MicroStation和OpenRoad使用的设置信息一般都存贮在库文件.dgnlib文件中,库文件是一个标准的dgn文件,可以用MicroStation直接打开进行编辑。
在环境配置文件内有关库的内容:

====================================================================================

CAD Environment (MicroStation) OpenSite/OpenRoads/OpenRail Designer DGN Library Settings

====================================================================================

MS_LEVEL_LIB_DIR Directory to look for when exporting levels or importing levels to/from a CSV, DGN, or DGNLib file.

MS_DGNLIBLIST DGN library files that define 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.

MS_DGNLIBLIST_LEVELS Specific DGN library files that define levels. Level definitions in all other DGN library files are ignored

MS_DGNLIBLIST_TEXTSTYLES Specific DGN library files that define text styles. Text styles definitions in all other DGN library files are ignored

MS_DGNLIBLIST_TEXTFAVORITES Specific DGN library files that define text favorites. Text favorites definitions in all other DGN library files are ignored

MS_DGNLIBLIST_DIMENSIONSTYLES Specific DGN library files that define dimension styles. Dimension styles definitions in all other DGN library files are ignored

#

CIVIL_CONTENTMANAGEMENTDGNLIBLIST Specific DGN library files that civil feature definitions.

CIVIL_PROJECTSETTINGSDGNLIBLIST Specific DGN library files that civil survey settings.

RAIL_SETTINGSDGNLIBLIST Specific DGN library files that civil rail settings.

====================================================================================

The following are common to OpenSite, OpenRoads, OpenRail, or OpenBridge and are always loaded

MS_LEVEL_LIB_DIR < $(CIVIL_ORGANIZATION_STANDARDS)Dgnlib/Feature Definitions/

MS_DGNLIBLIST < $(CIVIL_ORGANIZATION_STANDARDS)Dgnlib/Feature Definitions/*.dgnlib

MS_DGNLIBLIST_LEVELS < $(CIVIL_ORGANIZATION_STANDARDS)Dgnlib/Feature Definitions/Levels.dgnlib

CIVIL_CONTENTMANAGEMENTDGNLIBLIST > $(CIVIL_ORGANIZATION_STANDARDS)Dgnlib/Feature Definitions/Features.dgnlib

MS_DGNLIBLIST_TEXTSTYLES < $(CIVIL_ORGANIZATION_STANDARDS)Dgnlib/Feature Definitions/Text Styles.dgnlib

MS_DGNLIBLIST_TEXTFAVORITES < $(CIVIL_ORGANIZATION_STANDARDS)Dgnlib/Feature Definitions/Text Favorites.dgnlib

MS_DGNLIBLIST_DIMENSIONSTYLES < $(CIVIL_ORGANIZATION_STANDARDS)Dgnlib/Feature Definitions/Dimension Styles.dgnlib

CIVIL_PROJECTSETTINGSDGNLIBLIST > $(CIVIL_ORGANIZATION_STANDARDS)Dgnlib/Feature Definitions/Survey Settings*.dgnlib

MS_DGNLIBLIST > $(CIVIL_ORGANIZATION_STANDARDS)Dgnlib/Sheet Seeds/Road/*.dgnlib

Add the following if running OpenRoads, OpenRail, or OpenBridge

%if $(_ENGINENAME) == “OpenRoadsDesigner” || $(_ENGINENAME) == “OpenRailDesigner” || $(_ENGINENAME) == “OpenRailOverheadLineDesigner” || $(_ENGINENAME) == “OpenBridgeModeler”

MS_DGNLIBLIST < $(CIVIL_ORGANIZATION_STANDARDS)Dgnlib/Feature Definitions/Road/*.dgnlib

MS_DGNLIBLIST_LEVELS < $(CIVIL_ORGANIZATION_STANDARDS)Dgnlib/Feature Definitions/Road/Levels.dgnlib

CIVIL_CONTENTMANAGEMENTDGNLIBLIST > $(CIVIL_ORGANIZATION_STANDARDS)Dgnlib/Feature Definitions/Road/Features.dgnlib

MS_DGNLIBLIST_TEXTSTYLES < $(CIVIL_ORGANIZATION_STANDARDS)Dgnlib/Feature Definitions/Road/Text Styles.dgnlib

MS_DGNLIBLIST_TEXTFAVORITES < $(CIVIL_ORGANIZATION_STANDARDS)Dgnlib/Feature Definitions/Road/Text Favorites.dgnlib

MS_DGNLIBLIST_DIMENSIONSTYLES < $(CIVIL_ORGANIZATION_STANDARDS)Dgnlib/Feature Definitions/Road/Dimension Styles.dgnlib

%endif

Add the following if running OpenRail or OpenBridge

%if $(_ENGINENAME) == “OpenRailDesigner” || $(_ENGINENAME) == “OpenRailOverheadLineDesigner” || $(_ENGINENAME) == “OpenBridgeModeler”

MS_DGNLIBLIST < $(CIVIL_ORGANIZATION_STANDARDS)Dgnlib/Feature Definitions/Rail/*.dgnlib

MS_DGNLIBLIST_LEVELS < $(CIVIL_ORGANIZATION_STANDARDS)Dgnlib/Feature Definitions/Rail/Levels.dgnlib

CIVIL_CONTENTMANAGEMENTDGNLIBLIST > $(CIVIL_ORGANIZATION_STANDARDS)Dgnlib/Feature Definitions/Rail/Features.dgnlib

MS_DGNLIBLIST_TEXTSTYLES < $(CIVIL_ORGANIZATION_STANDARDS)Dgnlib/Feature Definitions/Rail/Text Styles.dgnlib

MS_DGNLIBLIST_TEXTFAVORITES < $(CIVIL_ORGANIZATION_STANDARDS)Dgnlib/Feature Definitions/Rail/Text Favorites.dgnlib

MS_DGNLIBLIST_DIMENSIONSTYLES < $(CIVIL_ORGANIZATION_STANDARDS)Dgnlib/Feature Definitions/Rail/Dimension Styles.dgnlib

RAIL_SETTINGSDGNLIBLIST < $(CIVIL_ORGANIZATION_STANDARDS)Dgnlib/Feature Definitions/Rail/Rail Settings*.dgnlib

MS_DGNLIBLIST > $(CIVIL_ORGANIZATION_STANDARDS)Dgnlib/Sheet Seeds/Rail/*.dgnlib

%endif

——————————————————————————————————————————

====================================================================================

General CAD Environment (MicroStation) Settings

====================================================================================

MS_DGNLIBLIST > $(CIVIL_ORGANIZATION_STANDARDS)Dgnlib/Line Styles/*.dgnlib # Location of Line Styles

MS_FONTPATH > $(CIVIL_ORGANIZATION_STANDARDS)fonts/ # Location of MicroStation fonts

MS_DGNTEXTEDITORFAVORITESYMBOLS = $(CIVIL_ORGANIZATION_STANDARDS)fonts/FavoriteSymbols.xml # Location and name of text favorites symbols

MS_DGNLIBLIST > $(CIVIL_ORGANIZATION_STANDARDS)Dgnlib/Display Styles/*.dgnlib # Location of Display Styles

MS_GUIDGNLIBLIST > $(CIVIL_ORGANIZATION_STANDARDS)Dgnlib/GUI/*.dgnlib # Location of GUI Customization seeds

MS_COLORBOOK_LIBRARIES < $(CIVIL_ORGANIZATION_STANDARDS)Dgnlib/Color Books/*.dgnlib # Location of for Color Books

MS_CELL < $(CIVIL_ORGANIZATION_STANDARDS)cell/ # Location of Cell Libraries

MS_CELLLIST < $(CIVIL_ORGANIZATION_STANDARDS)cell/*.cel # Cell Libraries to be searched

MS_MATERIAL < $(CIVIL_ORGANIZATION_STANDARDS)materials/ # Location of material pallets

MS_PATTERN < $(CIVIL_ORGANIZATION_STANDARDS)materials/pattern/ # Location of pattern maps

MS_BUMP < $(CIVIL_ORGANIZATION_STANDARDS)materials/bump/ # Location of bump maps

MS_CUSTOMSCALEDEF = $(CIVIL_ORGANIZATION_STANDARDS)Scales/scales.def # Scale Definitions used for Annotation Scales

MS_CUSTOMUNITDEF = $(CIVIL_ORGANIZATION_STANDARDS)Scales/units.def # Units Definitions used for Custom Units

MS_CUSTOMSHEETSIZEDEF = $(CIVIL_ORGANIZATION_STANDARDS)Scales/sheetsizes.def # Sheet Size Definitions used for Sheet Sizes

ITEMTYPE_LOOKUP = $(CIVIL_ORGANIZATION_STANDARDS)Asset Manager/Asset Management Lookup.xlsx # Defines the lookup file used by Item Types and Asset Manager.

MS_PENTABLE = $(CIVIL_ORGANIZATION_STANDARDS)Pen Tables/ # Default location for pen tables.

MS_BACKUP = $(_DGNDIR) # Directory for backup files

MS_REPORT_OUTPUT = $(_DGNDIR) # Default output directory where MicroStation

report (not OpenRoads/OpenRail) results will be exported.

MS_VIEWAUTORESIZE = 1 # If set to 1, the view windows are resized proportionally when the

main window is resized or when the dialogs are docked or undocked.

_USTN_DISPLAYALLCFGVARS = 1 # If set to 1, display all hidden variables.

MS_FULLPATHINTITLEBAR = 1 # If set to 1, show the full file name path in the title bar.

——————————————————————————————————————————

在安装目录:

C:\ProgramData\Bentley\OpenRoads Designer CE\Configuration\Organization-Civil_Civil Default Standards - Metric\Dgnlib\Feature Definitions

存在以下库文件:
image.png
将这些文件拷贝到自定义的工作空间所在的库目录中:
image.png
image.png
在此基础上进行修改保存:
image.png
在环境配置文件内指定库中使用了通配符,可以看出有关特征(Features)、标注(Annotations)、层(Levels)等的库修改第一个库文件“Common Features Annotations Levels Elem Temp Metric.dgnlib”就可以实现。