Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
  • Welcome
  • Products
  • Support
  • About
  • More
  • Cancel
MicroStation
  • Product Communities
  • More
MicroStation
MicroStation Wiki Creating a DGNLIB Library File for Customizing Microstation's User Interface
    • Sign in

    • -MicroStation Wiki
      • +Learning Tips
      • -MicroStation
        • +3D Printing - MicroStation
        • +Animation - MicroStation
        • +Archive / Backup - MicroStation
        • +Base Geometry - MicroStation
        • +Batch Processing - MicroStation
        • +CONNECT Advisor - MicroStation
        • CONNECT Integration - MicroStation
        • +CONNECTION Client
        • +Cells - MicroStation
        • +Change Tracking - MicroStation
        • +Configuration - MicroStation
        • +Coordinate Systems - MicroStation
        • +Curves - MicroStation
        • +Custom Linestyles - MicroStation
        • +DGN - MicroStation
        • +DWG - MicroStation
        • +Database - MicroStation
        • +Detailing Symbols - MicroStation
        • +Dimensions - MicroStation
        • +Documentation & Help - MicroStation
        • +Drawing Aids - MicroStation
        • +Exception - MicroStation
        • +FAQ - MicroStation
        • +Feature Based Solids Modeling - MicroStation
        • +File Access - MicroStation
        • +GUI - MicroStation
        • +General - MicroStation
        • +Graphics Display - MicroStation
        • +Groups - MicroStation
        • +Hardware / Input Devices - MicroStation
        • +Import/Export - MicroStation
        • +Installation - MicroStation
        • +Interchange - MicroStation
        • +Interference - MicroStation
        • +Internationalization - MicroStation
        • +Levels - MicroStation
        • +Licensing - MicroStation
        • +Manipulation - MicroStation
        • +Markup / Redline - MicroStation
        • +Measure - MicroStation
        • +Mesh - MicroStation
        • +Models - MicroStation
        • +Multi-Lines - MicroStation
        • +OLE - MicroStation
        • +Other - MicroStation
        • +Parametrics - MicroStation
        • +Patterning - MicroStation
        • +Point Cloud - MicroStation
        • +Printing - MicroStation
        • +Programming - MicroStation
        • +Project Navigation - MicroStation
        • +Properties - MicroStation
        • +RSS Feeds - MicroStation
        • +Reference - MicroStation
        • +Security - MicroStation
        • +Selection - MicroStation
        • +Settings - MicroStation
        • +Sheet Composition - MicroStation
        • +Solids - MicroStation
        • +Standards - MicroStation
        • +Surfaces - MicroStation
        • +Tables - MicroStation
        • +Text - MicroStation
        • -UI Customization - MicroStation
          • +Button Mapping - UI Customization - MicroStation
          • +Function Keys - UI Customization - MicroStation
          • +General - UI Customization - MicroStation
          • +Menus - UI Customization - MicroStation
          • +Tasks - UI Customization - MicroStation
          • -Tools - UI Customization - MicroStation
            • Create Custom Toolboxes at the End User Level (Personal.dgnlib)
            • Creating a DGNLIB Library File for Customizing Microstation's User Interface
            • Creating a tool to recall a Pattern cell from a cell library
            • Customized icon changed to different color from it's original color
            • How to find the key-in used within each tool while customizing
            • How to reduce the size of DGNLIB files
            • Icon Size in MicroStation
            • Some of the icons or toolboxes are missing
            • Unable to edit or add icons to Tools
        • +Units - MicroStation
        • +View - MicroStation
        • +Visualization - MicroStation
        • Welcome Page - MicroStation
        • +Accreditation - MicroStation
        • +i.Models - MicroStation
        • +ProjectWise Integration
        • +Raster - MicroStation
    • +Administration Wiki
    • +Annotations Wiki
    • +Bentley View Wiki
    • +MicroStation PowerDraft
    • +Programming Wiki
    • +Visualization Wiki

     
     Questions about this article, topic, or product? Click here. 

    Creating a DGNLIB Library File for Customizing Microstation's User Interface

      Product: MicroStation
      Version: 08.09.04.xx and above
      Environment: N\A
      Area: UI Customization
      Subarea: Tools

    This is a brief introductory guide on how to create and configure a DGNLIB library file for customizing MicroStation's User Interface

    Background

    In MicroStation XM and newer versions all the interface customizations, such as custom toolbars and menus, are stored and handled using “dgnlib libraries”. A “dgnlib library” is simply a .dgn file that stores specific resources (interface, levels, text styles, etc) which are accessible, provided this has been correctly configured in the workspace, for all files.

    Steps to Accomplish

    In order to customize the interface, you have to create a new *.dgnlib file (=dgnlib library) and configure the variable “MS_GUIDGNLIBLIST” with the correct path

    To create a dgnlib library:

    1. File -> New

    2. Change file type to “All Files” and manually change the new file extension to .dgnlib

    To configure the newly created dgnlib library, we can use the “Workspace->Configuration” dialog:

    1. Open the “Workspace->Configuration” dialog

    2. Select “MS_GUIDGNLIBLIST” from the list of variables and then click “Edit…”

    3. Change the Edit mode to “Append” and type the path to the new dgnlib in “New Value”

    4. Restart MicroStation to apply these changes, and open the newly created *.dgnlib file.

    Now you should see the "User Tools" section in the "Workspace -> Customize" menu and should be able to make your changes.

     

    Please note that by configuring the MS_GUIDGNLIBLIST from the configuration dialog, the change will only affect the currently active user (see marked area in picture 1).

    If you want the dgnlib to be configured for all users, the above variable needs to be manually defined in the standards.cfg configuration file. This should be only done by the site administrator or by somebody who is familiar with Workspace configuration.

    Please note that the workspace default interface folder path is configured in the MS_GUIDGNLIBLIST from factory, so every DGNLIB file save in this folder (...\WorkSpace\Interfaces\MicroStation\default) will be automatically loaded at MicroStation startup, provided that the "Default" interface is selected in MicroStation Manager dialog.

    See Also

    Importing customization from M01 and STG files

    Migrating Customizations to MS XM [TN]

    Other language sources

    Français

      Original Author: Marco Salino
    • Custom
    • UI Customization
    • MicroStation
    • dgnlib
    • how to
    • Menu
    • tool
    • SELECTsupport
    • Tools
    • Share
    • History
    • More
    • Cancel
    • Marco Salino Created by Bentley Colleague Marco Salino
    • When: Fri, Sep 6 2013 10:02 AM
    • Carl Myhill Last revision by Bentley Colleague Carl Myhill
    • When: Wed, Sep 8 2021 11:17 AM
    • Revisions: 9
    • Comments: 1
    Recommended
    Related
    Communities
    • Home
    • Getting Started
    • Community Central
    • Products
    • Support
    • Secure File Upload
    • Feedback
    Support and Services
    • Home
    • Product Support
    • Downloads
    • Subscription Services Portal
    Training and Learning
    • Home
    • About Bentley Institute
    • My Learning History
    • Reference Books
    Social Media
    •    LinkedIn
    •    Facebook
    •    Twitter
    •    YouTube
    •    RSS Feed
    •    Email

    © 2021 Bentley Systems, Incorporated  |  Contact Us  |  Privacy |  Terms of Use  |  Cookies