#-------------------------------------------------------------------------------
# This is a Microstation V8 Unit Definition file.
#
# Lines that begin with # are for descriptive comments.
#-------------------------------------------------------------------------------
#
#===============================================================================
# Revision History
# 12/01/2003  William Pratt  Added CTDOT Scales
# 05/28/2004  Robert Seitz   Cleaned up formatting
# 09/16/2004  William Pratt  Added 1"=80' Scale
# 12/06/2004  William Pratt  Added v8,8i labels for J files coming in @ Survey_Feet (Full Scale)
# 02/15/2005  William Pratt  Added 1:500 Scale for Metric Files
# ??/??/2005  William Pratt  Added Inch_Arch scales
# 12/06/2005  William Pratt  Added 6" = 1'-0" and changed 1/16 Foot Arc from 759040 to 7559041
# 07/17/2006  William Pratt  Added Metric
# 08/07/2006  Robert Seitz   Changed ALL System 0 (undefined) to 1 (english)
# 08/17/2006  William Pratt  Commented out 1:1,hm_1:1 and hm_1:1000 to display Meters and Millimeters
#				             Changed hm to hm_
# 03/28/2007  Robert Seitz   Modified Name(singular) for use with CTscales.mvba
#                            Modified 40_foot_eng_sub added 000 to end of numbers
# 03/29/2007  John Rinaldi   Renamed metric Name(singular)
#	
#===============================================================================
#
# 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
#
#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
               ;          Meter;          Meters;        1.0;         1.0;    1;      2
#    m,M       ;       hm_1:500;        hm_1:500;      500.0;         1.0;    1;      2
#    km        ;      Kilometer;      Kilometers;        1.0;      1000.0;    1;      2
#
#  English units (based on International Foot)
#
#
#Label,Label,..; Name(singular);    Name(plural);  Numerator; Denominator; Base; System
     ',fs      ;     Full Scale;     Survey_Feet;    39370.0;     12000.0;    1;      1
     "         ; Full Scale Sub;          Inches;    39370.0;      1000.0;    1;      1
    mi         ;    Survey_Mile;    Survey_Miles;    39370.0; 633660000.0;    1;      1
#
# CTDOT Scales
# Added 12/01/03
# William Pratt
#
# Architectural
#
#Label,Label,..;  Name(singular);    Name(plural);  Numerator; Denominator; Base; System
    '          ;      1/16in=1ft;  1/16_foot_arch;  7559041.0;     12000.0;    1;      1
    "          ;  1/16in=1ft Sub;  1/16_inch_arch;  7559040.0;      1000.0;    1;      1
    '          ;      3/32in=1ft;  3/32_foot_arch;  5039360.0;     12000.0;    1;      1
    "          ;  3/32in=1ft Sub;  3/32_inch_arch;  5039360.0;      1000.0;    1;      1
    '          ;       1/8in=1ft;   1/8_foot_arch;  3779520.0;     12000.0;    1;      1
    "          ;   1/8in=1ft Sub;   1/8_inch_arch;  3779520.0;      1000.0;    1;      1
    '          ;      3/16in=1ft;  3/16_foot_arch;  2519680.0;     12000.0;    1;      1
    "          ;  3/16in=1ft Sub;  3/16_inch_arch;  2519680.0;      1000.0;    1;      1
    '          ;       1/4in=1ft;   1/4_foot_arch;  1889760.0;     12000.0;    1;      1
    "          ;   1/4in=1ft Sub;   1/4_inch_arch;  1889760.0;      1000.0;    1;      1
    '          ;       3/8in=1ft;   3/8_foot_arch;  1259840.0;     12000.0;    1;      1
    "          ;   3/8in=1ft Sub;   3/8_inch_arch;  1259840.0;      1000.0;    1;      1
    '          ;       1/2in=1ft;   1/2_foot_arch;   944880.0;     12000.0;    1;      1
    "          ;   1/2in=1ft Sub;   1/2_inch_arch;   944880.0;      1000.0;    1;      1
    '          ;       3/4in=1ft;   3/4_foot_arch;   629920.0;     12000.0;    1;      1
    "          ;   3/4in=1ft Sub;   3/4_inch_arch;   629921.0;      1000.0;    1;      1
    '          ;         1in=1ft;     1_foot_arch;   472441.0;     12000.0;    1;      1
    "          ;     1in=1ft Sub;     1_inch_arch;   472440.0;      1000.0;    1;      1
    '          ;     1 1/2in=1ft; 1_1/2_foot_arch;   314960.0;     12000.0;    1;      1
    "          ; 1 1/2in=1ft Sub; 1_1/2_inch_arch;   314961.0;      1000.0;    1;      1
    '          ;         3in=1ft;     3_foot_arch;   157480.0;     12000.0;    1;      1
    "          ;     3in=1ft Sub;     3_inch_arch;   157481.0;      1000.0;    1;      1
    '          ;         6in=1ft;     6_foot_arch;    78740.0;     12000.0;    1;      1
    "          ;     6in=1ft Sub;     6_inch_arch;    78741.0;      1000.0;    1;      1
#
#
# Engineering
#
#Label,Label,..;  Name(singular);    Name(plural);   Numerator; Denominator; Base; System
    '          ;         1in=5ft;      5_foot_eng;   2362200.0;     12000.0;    1;      1
    "          ;     1in=5ft Sub;      5_inch_eng;   2362200.0;      1000.0;    1;      1
    '          ;        1in=10ft;     10_foot_eng;   4724400.0;     12000.0;    1;      1
    "          ;    1in=10ft Sub;     10_inch_eng;   4724400.0;      1000.0;    1;      1
    '          ;        1in=20ft;     20_foot_eng;   9448800.0;     12000.0;    1;      1
    "          ;    1in=20ft Sub;     20_inch_eng;   9448800.0;      1000.0;    1;      1
    '          ;        1in=25ft;     25_foot_eng;  11811000.0;     12000.0;    1;      1
    "          ;    1in=25ft Sub;     25_inch_eng;  11811000.0;      1000.0;    1;      1
    '          ;        1in=30ft;     30_foot_eng;  14173200.0;     12000.0;    1;      1
    "          ;    1in=30ft Sub;     30_inch_eng;  14173200.0;      1000.0;    1;      1
    ',ft,FT    ;        1in=40ft;     40_foot_eng;  18897600.0;     12000.0;    1;      1
    ',th,TH    ;    1in=40ft Sub; 40_foot_eng_sub; 18897600000.0;   12000.0;    1;      1
#   ',th,TH    ; 40_foot_eng_sub; 40_foot_eng_sub;  18897600.0;        12.0;    1;      1
    "          ;    1in=40ft Sub;     40_inch_eng;  18897600.0;      1000.0;    1;      1
    '          ;        1in=50ft;     50_foot_eng;  23622000.0;     12000.0;    1;      1
    "          ;    1in=50ft Sub;     50_inch_eng;  23622000.0;      1000.0;    1;      1
    '          ;        1in=80ft;     80_foot_eng;  37795200.0;     12000.0;    1;      1
    "          ;    1in=80ft Sub;     80_inch_eng;  37795200.0;      1000.0;    1;      1
    '          ;       1in=100ft;    100_foot_eng;  47244000.0;     12000.0;    1;      1
    "          ;   1in=100ft Sub;    100_inch_eng;  47244000.0;      1000.0;    1;      1
    '          ;       1in=200ft;    200_foot_eng;  94488000.0;     12000.0;    1;      1
    "          ;   1in=200ft Sub;    200_inch_eng;  94488000.0;      1000.0;    1;      1
    '          ;       1in=500ft;    500_foot_eng; 236220000.0;     12000.0;    1;      1
    "          ;   1in=500ft Sub;    500_inch_eng; 236220000.0;      1000.0;    1;      1
    '          ;      1in=1000ft;   1000_foot_eng; 472440000.0;     12000.0;    1;      1
    "          ;  1in=1000ft Sub;   1000_inch_eng; 472440000.0;      1000.0;    1;      1
    '          ;      1in=2000ft;   2000_foot_eng; 944880000.0;     12000.0;    1;      1
    "          ;  1in=2000ft Sub;   2000_inch_eng; 944880000.0;      1000.0;    1;      1

# CTDOT METRIC Scales
# Added 7/17/06
# William Pratt
#
# Highways Metric
#Label,Label,..; Name(singular); Name(plural); Numerator; Denominator; Base; System
#              ;        met 1:1;          1:1;    1000.0;         1.0;    1;      2
               ;        met 1:2;          1:2;    2000.0;         1.0;    1;      2
               ;      met 1:2.5;        1:2.5;    2500.0;         1.0;    1;      2
               ;        met 1:5;          1:5;    5000.0;         1.0;    1;      2
               ;       met 1:10;         1:10;   10000.0;         1.0;    1;      2
               ;       met 1:15;         1:15;   15000.0;         1.0;    1;      2
               ;       met 1:20;         1:20;   20000.0;         1.0;    1;      2
               ;       met 1:25;         1:25;   25000.0;         1.0;    1;      2
               ;       met 1:50;         1:50;   50000.0;         1.0;    1;      2
               ;       met 1:75;         1:75;   75000.0;         1.0;    1;      2
               ;      met 1:100;        1:100;  100000.0;         1.0;    1;      2
               ;      met 1:200;        1:200;  200000.0;         1.0;    1;      2
               ;      met 1:250;        1:250;  250000.0;         1.0;    1;      2
               ;      met 1:500;        1:500;  500000.0;         1.0;    1;      2
               ;     met 1:1000;       1:1000; 1000000.0;         1.0;    1;      2

#Label,Label,..; Name(singular); Name(plural); Numerator; Denominator; Base; System
#              ;    met 1:1 hwy;       hm_1:1;       1.0;         1.0;    1;      2
               ;    met 1:2 hwy;       hm_1:2;       2.0;         1.0;    1;      2
               ;  met 1:2.5 hwy;     hm_1:2.5;       2.5;         1.0;    1;      2
               ;    met 1:5 hwy;       hm_1:5;       5.0;         1.0;    1;      2
               ;   met 1:10 hwy;      hm_1:10;      10.0;         1.0;    1;      2
               ;   met 1:15 hwy;      hm_1:15;      15.0;         1.0;    1;      2
               ;   met 1:20 hwy;      hm_1:20;      20.0;         1.0;    1;      2
               ;   met 1:25 hwy;      hm_1:25;      25.0;         1.0;    1;      2
               ;   met 1:50 hwy;      hm_1:50;      50.0;         1.0;    1;      2
               ;   met 1:75 hwy;      hm_1:75;      75.0;         1.0;    1;      2
               ;  met 1:100 hwy;     hm_1:100;     100.0;         1.0;    1;      2
               ;  met 1:200 hwy;     hm_1:200;     200.0;         1.0;    1;      2
               ;  met 1:250 hwy;     hm_1:250;     250.0;         1.0;    1;      2
  m,M          ;  met 1:500 hwy;     hm_1:500;     500.0;         1.0;    1;      2
#              ; met 1:1000 hwy;    hm_1:1000;    1000.0;         1.0;    1;      2

