Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
MicroStation
  • Product Communities
MicroStation
MicroStation Wiki Control the Working Units used in files
    • 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
        • -Units - MicroStation
          • Control the Working Units used in files
          • How to remove enhanced precision when saving as V7
          • Scale Model VBA to change the working units and resolution
          • Working Units [FAQ]
        • +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. 

    Control the Working Units used in files

      Product: MicroStation
      Version: V8, 2004, XM, V8i, CONNECT
      Environment: N\A
      Area: Units
      Subarea: N\A

    Background

    Sometimes it may be desired to control what Working Units are displayed and available for use within files. For example, only having Meters and Millimetres as the available Working Units. 

    Steps to Accomplish

    This can be controlled using a combination of the variable MS_CUSTOMUNITDEF and the unit definition file, units.def. The units.def file is an ASCII text file located in the .../Workspace/System/Data folder by default. The variable MS_CUSTOMUNITDEF points to this file.

    1. The available Working Units in a file can be found in Settings > Design File under the Working Units category
    2. By default, the available working units can be seen in image 1 below
    3. To edit the list of available units, browse to the units.def file (location pointed to by MS_CUSTOMUNITDEF)
    4. Make a copy of the file units.def 
    5. Open the copied file with a Text Editor
    6. Add the hash/pound (#) symbol in front of any units that are not to be displayed/available
    7. Save the file
    8. Point the variable MS_CUSTOMUNITDEF to the newly created file
    9. Restart MicroStation and check in Settings > Design File that only the desired Working Units are displayed (see image 2) 

    Image 1 - Standard Working Units display

     Image 2 - Modified Working Units (Units.def), only Meters and Millimeters listed


    See Also

    Working Units [FAQ]

    Other language sources

      Original Author: Conor King
    • MicroStation
    • how to
    • Working Units
    • SELECTsupport
    • Share
    • History
    • More
    • Cancel
    • Conor K Created by Conor K
    • When: Mon, Apr 21 2014 6:55 AM
    • Robert Karpic Last revision by Robert Karpic
    • When: Thu, Jun 30 2022 7:46 AM
    • Revisions: 4
    • Comments: 0
    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

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