#------------------------------------------------------------------------------- # This is a MicroStation V8 Unit Definition file. # # Lines that begin with # are for descriptive comments. # # $Copyright: (c) 2003 Bentley Systems, Incorporated. All rights reserved. $ #------------------------------------------------------------------------------- # # The active unit definition file is specified by the configuration variable # MS_CUSTOMUNITDEF. By default that variable refers to: # \Bentley\WorkSpace\System\data\units.def # # MicroStation uses its active units definition file in two instances: # # 1) Only the units defined in the units.def file are typically accessible in # the MicroStation user interface. To include all the known units in the # user interface, define the configuration variable MS_UNITS_SHOWALL. # # 2) The units.def file is consulted when converting data from file formats # with incomplete unit information. For example, V7 dgn files provide only # a two character unit label. This two character label is compared to the # labels supplied in the units.def file to determine the correct mathematical # definition. # # NOTE: In both of the above cases, when a unit from the unit definition file # conflicts with one of the standard units, the unit from the definition # file will be used. # # NOTE: Both standard and custom units are accessible via the "SET UNITS" keyin. # # The format of this file consists of one unit definition per line, where the # format of each line is: # # Label,Label,...,Label; Name(singular); Name(plural); Numerator; Denominator; Base; System # # Label: # Used to specify the default label for coordinate readout and dimensioning. A list of # labels can be provided but only the first is used by V8. The other labels are used # when loading a V7 format file, in which case the label for the V7 file's master unit # will be matched against all the labels that are provided. # # Name(singular) and Name(plural): # Used for display of the unit in dialog boxes. # # Numerator and Denominator: # Together these are used to define the size of the unit being described. The ratio of # numerator divided by denominator represents the number X of the new unit that make # up a single Meter. For example: 100.0 / 1.0 = 100.0 centimeters = 1 meter. To ensure # the greatest possible accuracy, it is highly recommended that both numerator and # denominator be specified as whole integer values. # # Base: # Only units of the same base can be compared. All linear distance units should use a # base of Meter. For nonlinear units such as degrees latitude or longitude specify # base Unitless. # # Valid values for Base are: # 0 Unitless # 1 Meter # # System: # Used to catagorize units for display in some dialogs. # # Valid values for System are: # 0 Undefined # 1 English # 2 Metric # #------------------------------------------------------------------------------- # # MicroStation Standard Unit Examples # #Label,Label,...; Name(singular); Name(plural); Numerator; Denominator; Base; System # SI (metric) units m; Meter; Meters; 1.0; 1.0; 1; 2 mm; Millimeter; Millimeters; 1000.0; 1.0; 1; 2 # English units (based on U.S. Survey Foot) ',ft,Ft,FT,feet,FEET,Feet,foot,FOOT,Foot,SF; Survey Foot; Survey Feet; 3937; 1200; 1; 3 ",in,In,IN,inch,INCH,Inch,inches,INCHES,Inches; Inch; Inches; 3937; 100; 1; 3