#------------------------------------------------------------------------------- # This is a Microstation V8 Unit Definition file. # # Lines that begin with # are for descriptive comments. #------------------------------------------------------------------------------- # # 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) To provide information about non-standard units for use in 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. # # 2) The units defined in the units.def file are available during a # MicroStation session, and can be accessed similiarly to the standard # units. For example, they are accessible via the "SET UNITS" keyin. # # 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. # # 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 #um; Micrometer; Micrometers; 1000000.0; 1.0; 1; 2 mm; Millimeter; Millimeters; 1000.0; 1.0; 1; 2 cm; Centimeter; Centimeters; 100.0; 1.0; 1; 2 m; Meter; Meters; 1.0; 1.0; 1; 2 #km; Kilometer; Kilometers; 1.0; 1000.0; 1; 2 # #ui; MicroInch; MicroInches; 10000000000.0; 254.0; 1; 1 #mil; Mil; Mils; 10000000.0; 254.0; 1; 1 #in,"; Inch; Inches; 10000.0; 254.0; 1; 1 #ft,'; Foot; Feet; 10000.0; 3048.0; 1; 1 #yd; Yard; Yards; 10000.0; 9144.0; 1; 1 #mi; Mile; Miles; 10000.0; 16093440.0; 1; 1 # # Other Examples # ','; Survey Foot; Survey Feet; 3937.0; 1200.0; 1; 1 ","; SF Inch; SF Inches; 47244.0; 1200.0; 1; 1 th,th; SF Tenth; SF Tenths; 39370.0; 1200.0; 1; 1 mi,mi; SF Mile; SF Miles; 3937.0; 6336000.0; 1; 1 sft,'; Survey Foot; Survey Feet; 3937.0; 1200.0; 1; 1 sfin,"; SF Inch; SF Inches; 47244.0; 1200.0; 1; 1 sft,ft; Survey Foot; Survey Feet; 3937.0; 1200.0; 1; 1 sfin,in; SF Inch; SF Inches; 47244.0; 1200.0; 1; 1 sfth,th; SF Tenth; SF Tenths; 39370.0; 1200.0; 1; 1 sfmi,mi; SF Mile; SF Miles; 3937.0; 6336000.0; 1; 1 sft,FT; Survey Foot; Survey Feet; 3937.0; 1200.0; 1; 1 sfth,TH; SF Tenth; SF Tenths; 39370.0; 1200.0; 1; 1 sft,Ft; Survey Foot; Survey Feet; 3937.0; 1200.0; 1; 1 sfth,Th; SF Tenth; SF Tenths; 39370.0; 1200.0; 1; 1 #