Revit .NET has provided the Units API since version 2014. In this series of posts, we are going to explore the Revit Units .NET API and provide sample code and analysis as usual.
Last time, we used the Revit Units .NET API to sort out Revit internal units per unit type. However, we found that Revit did not have internal units for some unit types such as the following:
UT_HVAC_Density -- Density
UT_HVAC_Energy -- Energy
UT_HVAC_Friction -- Friction
UT_HVAC_Power -- Power
UT_PipeMassPerUnitLength -- Mass per Unit Length
Why is that?
Let’s figure it out in this post. To make things clear, we need more information to help analyze. Obvious we can reuse the existing code but enhance it a bit.
public static void FigureOutRevitInternalUnitsPerUnitType()
{
string info = "";
using (StreamWriter sw = new StreamWriter(@"c:\temp\RevitInternalUnits.txt"))
{
System.Diagnostics.Debug.WriteLine("", "** Revit Internal Units **");
foreach (UnitType ut in UnitUtils.GetValidUnitTypes())
{
info = string.Format("{0} -- {1}", ut, LabelUtils.GetLabelFor(ut));
sw.WriteLine(info);
System.Diagnostics.Debug.WriteLine(ut, "Unit Type");
foreach (DisplayUnitType dut in UnitUtils.GetValidDisplayUnits(ut))
{
double value = UnitUtils.ConvertToInternalUnits(1.0, dut);
System.Diagnostics.Debug.WriteLine(string.Format("\t{0} -- {1}", dut, value));
if (Math.Abs(value - 1.0) < 0.01)
{
info = string.Format("\t{0} -- {1}", dut, LabelUtils.GetLabelFor(dut));
sw.WriteLine(info);
}
}
}
}
}
…
RevitUnitsAPI.FigureOutRevitInternalUnitsPerUnitType();
…
As can be seen, we used a much tolerant tolerance this time for the unit conversion factor comparison, but the same results were got in the file output. Fortunately, we also added some debug output which would tell us why.
** Revit Internal Units **:
Unit Type: UT_Number
DUT_GENERAL -- 1
DUT_FIXED -- 1
DUT_CURRENCY -- 1
DUT_PERCENTAGE -- 0.01
Unit Type: UT_Length
DUT_DECIMAL_FEET -- 1
DUT_FEET_FRACTIONAL_INCHES -- 1
DUT_DECIMAL_INCHES -- 0.0833333333333333
DUT_FRACTIONAL_INCHES -- 0.0833333333333333
DUT_METERS -- 3.28083989501312
DUT_DECIMETERS -- 0.328083989501312
DUT_CENTIMETERS -- 0.0328083989501312
DUT_MILLIMETERS -- 0.00328083989501312
DUT_METERS_CENTIMETERS -- 3.28083989501312
Unit Type: UT_Area
DUT_SQUARE_FEET -- 1
DUT_SQUARE_INCHES -- 0.00694444444444444
DUT_SQUARE_METERS -- 10.7639104167097
DUT_SQUARE_CENTIMETERS -- 0.00107639104167097
DUT_SQUARE_MILLIMETERS -- 1.07639104167097E-05
DUT_ACRES -- 43560
DUT_HECTARES -- 107639.104167097
Unit Type: UT_Volume
DUT_CUBIC_YARDS -- 27
DUT_CUBIC_FEET -- 1
DUT_CUBIC_INCHES -- 0.000578703703703704
DUT_CUBIC_METERS -- 35.3146667214886
DUT_CUBIC_CENTIMETERS -- 3.53146667214886E-05
DUT_CUBIC_MILLIMETERS -- 3.53146667214886E-08
DUT_LITERS -- 0.0353146667214886
DUT_GALLONS_US -- 0.133680563183524
Unit Type: UT_Angle
DUT_DECIMAL_DEGREES -- 0.0174532925199433
DUT_DEGREES_AND_MINUTES -- 0.0174532925199433
DUT_RADIANS -- 1
DUT_GRADS -- 0.015707963267949
Unit Type: UT_SheetLength
DUT_DECIMAL_FEET -- 1
DUT_FEET_FRACTIONAL_INCHES -- 1
DUT_DECIMAL_INCHES -- 0.0833333333333333
DUT_FRACTIONAL_INCHES -- 0.0833333333333333
DUT_METERS -- 3.28083989501312
DUT_DECIMETERS -- 0.328083989501312
DUT_CENTIMETERS -- 0.0328083989501312
DUT_MILLIMETERS -- 0.00328083989501312
DUT_METERS_CENTIMETERS -- 3.28083989501312
DUT_SQUARE_FEET_PER_FOOT -- 1
DUT_SQUARE_INCHES_PER_FOOT -- 0.00694444444444444
DUT_SQUARE_MILLIMETERS_PER_METER -- 3.28083989501312E-06
DUT_SQUARE_CENTIMETERS_PER_METER -- 0.000328083989501312
DUT_SQUARE_METERS_PER_METER -- 3.28083989501312
Unit Type: UT_DecSheetLength
DUT_DECIMAL_FEET -- 1
DUT_FEET_FRACTIONAL_INCHES -- 1
DUT_DECIMAL_INCHES -- 0.0833333333333333
DUT_FRACTIONAL_INCHES -- 0.0833333333333333
DUT_METERS -- 3.28083989501312
DUT_DECIMETERS -- 0.328083989501312
DUT_CENTIMETERS -- 0.0328083989501312
DUT_MILLIMETERS -- 0.00328083989501312
DUT_METERS_CENTIMETERS -- 3.28083989501312
DUT_SQUARE_FEET_PER_FOOT -- 1
DUT_SQUARE_INCHES_PER_FOOT -- 0.00694444444444444
DUT_SQUARE_MILLIMETERS_PER_METER -- 3.28083989501312E-06
DUT_SQUARE_CENTIMETERS_PER_METER -- 0.000328083989501312
DUT_SQUARE_METERS_PER_METER -- 3.28083989501312
Unit Type: UT_SiteAngle
DUT_DECIMAL_DEGREES -- 0.0174532925199433
DUT_DEGREES_AND_MINUTES -- 0.0174532925199433
DUT_RADIANS -- 1
DUT_GRADS -- 0.015707963267949
Unit Type: UT_HVAC_Density
DUT_KILOGRAMS_PER_CUBIC_METER -- 0.028316846592
DUT_POUNDS_MASS_PER_CUBIC_FOOT -- 0.45359237
DUT_POUNDS_MASS_PER_CUBIC_INCH -- 783.80761536
Unit Type: UT_HVAC_Energy
DUT_BRITISH_THERMAL_UNITS -- 11356.526682227
DUT_CALORIES -- 45.0663401326803
DUT_KILOCALORIES -- 45066.3401326803
DUT_JOULES -- 10.7639104167097
DUT_KILOWATT_HOURS -- 38750077.500155
DUT_THERMS -- 1135657132.42538
Unit Type: UT_HVAC_Friction
DUT_INCHES_OF_WATER_PER_100FT -- 0.75846432
DUT_PASCALS_PER_METER -- 0.09290304
Unit Type: UT_HVAC_Power
DUT_WATTS -- 10.7639104167097
DUT_KILOWATTS -- 10763.9104167097
DUT_BRITISH_THERMAL_UNITS_PER_SECOND -- 11356.526682227
DUT_BRITISH_THERMAL_UNITS_PER_HOUR -- 3.15459074506305
DUT_CALORIES_PER_SECOND -- 45.0663401326803
DUT_KILOCALORIES_PER_SECOND -- 45066.3401326803
Unit Type: UT_HVAC_Power_Density
DUT_WATTS_PER_SQUARE_FOOT -- 10.7639104167097
DUT_WATTS_PER_SQUARE_METER -- 1
DUT_BRITISH_THERMAL_UNITS_PER_HOUR_SQUARE_FOOT -- 3.15459074506305
Unit Type: UT_HVAC_Pressure
DUT_INCHES_OF_WATER -- 75.846432
DUT_PASCALS -- 0.3048
DUT_KILOPASCALS -- 304.8
DUT_MEGAPASCALS -- 304800
DUT_POUNDS_FORCE_PER_SQUARE_INCH -- 2101.5219336
DUT_INCHES_OF_MERCURY -- 1032.1713672
DUT_MILLIMETERS_OF_MERCURY -- 40.63666752
DUT_ATMOSPHERES -- 30883.86
DUT_BARS -- 30480
Unit Type: UT_HVAC_Temperature
DUT_FAHRENHEIT -- 255.927777777778
DUT_CELSIUS -- 274.15
DUT_KELVIN -- 1
DUT_RANKINE -- 0.555555555555556
Unit Type: UT_HVAC_Velocity
DUT_FEET_PER_MINUTE -- 0.0166666666666667
DUT_METERS_PER_SECOND -- 3.28083989501312
DUT_CENTIMETERS_PER_MINUTE -- 0.000546806649168854
Unit Type: UT_HVAC_Airflow
DUT_CUBIC_FEET_PER_MINUTE -- 0.0166666666666667
DUT_LITERS_PER_SECOND -- 0.0353146667214886
DUT_CUBIC_METERS_PER_SECOND -- 35.3146667214886
DUT_CUBIC_METERS_PER_HOUR -- 0.00980962964485794
DUT_GALLONS_US_PER_MINUTE -- 0.00222800938639206
DUT_GALLONS_US_PER_HOUR -- 3.7133489773201E-05
Unit Type: UT_HVAC_DuctSize
DUT_DECIMAL_FEET -- 1
DUT_FEET_FRACTIONAL_INCHES -- 1
DUT_DECIMAL_INCHES -- 0.0833333333333333
DUT_FRACTIONAL_INCHES -- 0.0833333333333333
DUT_METERS -- 3.28083989501312
DUT_DECIMETERS -- 0.328083989501312
DUT_CENTIMETERS -- 0.0328083989501312
DUT_MILLIMETERS -- 0.00328083989501312
DUT_METERS_CENTIMETERS -- 3.28083989501312
Unit Type: UT_HVAC_CrossSection
DUT_SQUARE_FEET -- 1
DUT_SQUARE_INCHES -- 0.00694444444444444
DUT_SQUARE_METERS -- 10.7639104167097
DUT_SQUARE_CENTIMETERS -- 0.00107639104167097
DUT_SQUARE_MILLIMETERS -- 1.07639104167097E-05
DUT_ACRES -- 43560
DUT_HECTARES -- 107639.104167097
Unit Type: UT_HVAC_HeatGain
DUT_WATTS -- 10.7639104167097
DUT_KILOWATTS -- 10763.9104167097
DUT_BRITISH_THERMAL_UNITS_PER_SECOND -- 11356.526682227
DUT_BRITISH_THERMAL_UNITS_PER_HOUR -- 3.15459074506305
DUT_CALORIES_PER_SECOND -- 45.0663401326803
DUT_KILOCALORIES_PER_SECOND -- 45066.3401326803
Unit Type: UT_Electrical_Current
DUT_AMPERES -- 1
DUT_KILOAMPERES -- 1000
DUT_MILLIAMPERES -- 0.001
Unit Type: UT_Electrical_Potential
DUT_VOLTS -- 10.7639104167097
DUT_KILOVOLTS -- 10763.9104167097
DUT_MILLIVOLTS -- 0.0107639104167097
Unit Type: UT_Electrical_Frequency
DUT_HERTZ -- 1
DUT_CYCLES_PER_SECOND -- 1
DUT_CUBIC_FEET_PER_MINUTE_CUBIC_FOOT -- 0.0166666666666667
DUT_LITERS_PER_SECOND_CUBIC_METER -- 0.001
Unit Type: UT_Electrical_Illuminance
DUT_LUX -- 0.09290304
DUT_FOOTCANDLES -- 0.9999999612864
Unit Type: UT_Electrical_Luminance
DUT_FOOTLAMBERTS -- 0.31830987692736
DUT_CANDELAS_PER_SQUARE_METER -- 0.09290304
Unit Type: UT_Electrical_Luminous_Flux
DUT_LUMENS -- 1
Unit Type: UT_Electrical_Luminous_Intensity
DUT_CANDELAS -- 1
Unit Type: UT_Electrical_Efficacy
DUT_LUMENS_PER_WATT -- 0.09290304
Unit Type: UT_Electrical_Wattage
DUT_WATTS -- 10.7639104167097
Unit Type: UT_Color_Temperature
DUT_KELVIN -- 1
Unit Type: UT_Electrical_Power
DUT_WATTS -- 10.7639104167097
DUT_KILOWATTS -- 10763.9104167097
DUT_BRITISH_THERMAL_UNITS_PER_SECOND -- 11356.526682227
DUT_BRITISH_THERMAL_UNITS_PER_HOUR -- 3.15459074506305
DUT_CALORIES_PER_SECOND -- 45.0663401326803
DUT_KILOCALORIES_PER_SECOND -- 45066.3401326803
DUT_VOLT_AMPERES -- 10.7639104167097
DUT_KILOVOLT_AMPERES -- 10763.9104167097
DUT_HORSEPOWER -- 8026.6466154635
Unit Type: UT_HVAC_Roughness
DUT_DECIMAL_FEET -- 1
DUT_FEET_FRACTIONAL_INCHES -- 1
DUT_DECIMAL_INCHES -- 0.0833333333333333
DUT_FRACTIONAL_INCHES -- 0.0833333333333333
DUT_METERS -- 3.28083989501312
DUT_DECIMETERS -- 0.328083989501312
DUT_CENTIMETERS -- 0.0328083989501312
DUT_MILLIMETERS -- 0.00328083989501312
DUT_METERS_CENTIMETERS -- 3.28083989501312
Unit Type: UT_Electrical_Apparent_Power
DUT_WATTS -- 10.7639104167097
DUT_KILOWATTS -- 10763.9104167097
DUT_BRITISH_THERMAL_UNITS_PER_SECOND -- 11356.526682227
DUT_BRITISH_THERMAL_UNITS_PER_HOUR -- 3.15459074506305
DUT_CALORIES_PER_SECOND -- 45.0663401326803
DUT_KILOCALORIES_PER_SECOND -- 45066.3401326803
DUT_VOLT_AMPERES -- 10.7639104167097
DUT_KILOVOLT_AMPERES -- 10763.9104167097
DUT_HORSEPOWER -- 8026.6466154635
Unit Type: UT_Electrical_Power_Density
DUT_WATTS_PER_SQUARE_FOOT -- 10.7639104167097
DUT_WATTS_PER_SQUARE_METER -- 1
DUT_BRITISH_THERMAL_UNITS_PER_HOUR_SQUARE_FOOT -- 3.15459074506305
Unit Type: UT_Piping_Density
DUT_KILOGRAMS_PER_CUBIC_METER -- 0.028316846592
DUT_POUNDS_MASS_PER_CUBIC_FOOT -- 0.45359237
DUT_POUNDS_MASS_PER_CUBIC_INCH -- 783.80761536
Unit Type: UT_Piping_Flow
DUT_LITERS_PER_SECOND -- 0.0353146667214886
DUT_CUBIC_METERS_PER_SECOND -- 35.3146667214886
DUT_CUBIC_METERS_PER_HOUR -- 0.00980962964485794
DUT_GALLONS_US_PER_MINUTE -- 0.00222800938639206
DUT_GALLONS_US_PER_HOUR -- 3.7133489773201E-05
Unit Type: UT_Piping_Friction
DUT_PASCALS_PER_METER -- 0.09290304
DUT_FEET_OF_WATER_PER_100FT -- 9.110676216
Unit Type: UT_Piping_Pressure
DUT_PASCALS -- 0.3048
DUT_KILOPASCALS -- 304.8
DUT_MEGAPASCALS -- 304800
DUT_POUNDS_FORCE_PER_SQUARE_INCH -- 2101.5219336
DUT_INCHES_OF_MERCURY -- 1032.1713672
DUT_MILLIMETERS_OF_MERCURY -- 40.63666752
DUT_ATMOSPHERES -- 30883.86
DUT_BARS -- 30480
DUT_FEET_OF_WATER -- 911.041104
Unit Type: UT_Piping_Temperature
DUT_FAHRENHEIT -- 255.927777777778
DUT_CELSIUS -- 274.15
DUT_KELVIN -- 1
DUT_RANKINE -- 0.555555555555556
Unit Type: UT_Piping_Velocity
DUT_METERS_PER_SECOND -- 3.28083989501312
DUT_FEET_PER_SECOND -- 1
Unit Type: UT_Piping_Viscosity
DUT_PASCAL_SECONDS -- 0.3048
DUT_POUNDS_MASS_PER_FOOT_SECOND -- 0.45359237
DUT_CENTIPOISES -- 0.0003048
DUT_POUNDS_MASS_PER_FOOT_HOUR -- 0.000125997880555556
Unit Type: UT_PipeSize
DUT_DECIMAL_FEET -- 1
DUT_FEET_FRACTIONAL_INCHES -- 1
DUT_DECIMAL_INCHES -- 0.0833333333333333
DUT_FRACTIONAL_INCHES -- 0.0833333333333333
DUT_METERS -- 3.28083989501312
DUT_DECIMETERS -- 0.328083989501312
DUT_CENTIMETERS -- 0.0328083989501312
DUT_MILLIMETERS -- 0.00328083989501312
DUT_METERS_CENTIMETERS -- 3.28083989501312
Unit Type: UT_Piping_Roughness
DUT_DECIMAL_FEET -- 1
DUT_FEET_FRACTIONAL_INCHES -- 1
DUT_DECIMAL_INCHES -- 0.0833333333333333
DUT_FRACTIONAL_INCHES -- 0.0833333333333333
DUT_METERS -- 3.28083989501312
DUT_DECIMETERS -- 0.328083989501312
DUT_CENTIMETERS -- 0.0328083989501312
DUT_MILLIMETERS -- 0.00328083989501312
DUT_METERS_CENTIMETERS -- 3.28083989501312
Unit Type: UT_Piping_Volume
DUT_CUBIC_YARDS -- 27
DUT_CUBIC_FEET -- 1
DUT_CUBIC_INCHES -- 0.000578703703703704
DUT_CUBIC_METERS -- 35.3146667214886
DUT_CUBIC_CENTIMETERS -- 3.53146667214886E-05
DUT_CUBIC_MILLIMETERS -- 3.53146667214886E-08
DUT_LITERS -- 0.0353146667214886
DUT_GALLONS_US -- 0.133680563183524
Unit Type: UT_HVAC_Viscosity
DUT_PASCAL_SECONDS -- 0.3048
DUT_POUNDS_MASS_PER_FOOT_SECOND -- 0.45359237
DUT_CENTIPOISES -- 0.0003048
DUT_POUNDS_MASS_PER_FOOT_HOUR -- 0.000125997880555556
Unit Type: UT_HVAC_CoefficientOfHeatTransfer
DUT_WATTS_PER_SQUARE_METER_KELVIN -- 1
DUT_BRITISH_THERMAL_UNITS_PER_HOUR_SQUARE_FOOT_FAHRENHEIT -- 5.678263
Unit Type: UT_HVAC_ThermalResistance
DUT_SQUARE_METER_KELVIN_PER_WATT -- 1
DUT_HOUR_SQUARE_FOOT_FAHRENHEIT_PER_BRITISH_THERMAL_UNIT -- 0.17611016132736
Unit Type: UT_HVAC_ThermalMass
DUT_BRITISH_THERMAL_UNIT_PER_FAHRENHEIT -- 20441.7480280086
DUT_JOULES_PER_KELVIN -- 10.7639104167097
DUT_KILOJOULES_PER_KELVIN -- 10763.9104167097
Unit Type: UT_HVAC_ThermalConductivity
DUT_WATTS_PER_METER_KELVIN -- 3.28083989501312
DUT_BRITISH_THERMAL_UNITS_PER_HOUR_FOOT_FAHRENHEIT -- 5.67826334111349
Unit Type: UT_HVAC_SpecificHeat
DUT_JOULES_PER_GRAM_CELSIUS -- 10763.9104167097
DUT_JOULES_PER_KILOGRAM_CELSIUS -- 10.7639104167097
DUT_BRITISH_THERMAL_UNITS_PER_POUND_FAHRENHEIT -- 45066.3401326803
Unit Type: UT_HVAC_SpecificHeatOfVaporization
DUT_JOULES_PER_GRAM -- 10763.9104167097
DUT_BRITISH_THERMAL_UNITS_PER_POUND -- 25036.8556292668
Unit Type: UT_HVAC_Permeability
DUT_NANOGRAMS_PER_PASCAL_SECOND_SQUARE_METER -- 3.048E-13
DUT_GRAINS_PER_HOUR_SQUARE_FOOT_INCH_MERCURY -- 0.00415315358027003
Unit Type: UT_Electrical_Resistivity
DUT_OHM_METERS -- 35.3146667214886
Unit Type: UT_HVAC_Airflow_Density
DUT_CUBIC_FEET_PER_MINUTE_SQUARE_FOOT -- 0.0166666666666667
DUT_LITERS_PER_SECOND_SQUARE_METER -- 0.00328083989501312
Unit Type: UT_Slope
DUT_1_RATIO -- 1
DUT_RATIO_12 -- 0.0833333333333333
DUT_RATIO_10 -- 0.1
DUT_RISE_OVER_INCHES -- 0.0833333333333333
DUT_RISE_OVER_FOOT -- 1
DUT_RISE_OVER_MMS -- 0.001
DUT_SLOPE_DEGREES -- 0.0174550649282176
DUT_PERCENTAGE -- 0.01
Unit Type: UT_HVAC_Cooling_Load
DUT_WATTS -- 10.7639104167097
DUT_KILOWATTS -- 10763.9104167097
DUT_BRITISH_THERMAL_UNITS_PER_SECOND -- 11356.526682227
DUT_BRITISH_THERMAL_UNITS_PER_HOUR -- 3.15459074506305
DUT_TON_OF_REFRIGERATION -- 37855.0889407566
Unit Type: UT_HVAC_Heating_Load
DUT_WATTS -- 10.7639104167097
DUT_KILOWATTS -- 10763.9104167097
DUT_BRITISH_THERMAL_UNITS_PER_SECOND -- 11356.526682227
DUT_BRITISH_THERMAL_UNITS_PER_HOUR -- 3.15459074506305
Unit Type: UT_HVAC_Cooling_Load_Divided_By_Area
DUT_WATTS_PER_SQUARE_FOOT -- 10.7639104167097
DUT_WATTS_PER_SQUARE_METER -- 1
DUT_BRITISH_THERMAL_UNITS_PER_HOUR_SQUARE_FOOT -- 3.15459074506305
Unit Type: UT_HVAC_Heating_Load_Divided_By_Area
DUT_WATTS_PER_SQUARE_FOOT -- 10.7639104167097
DUT_WATTS_PER_SQUARE_METER -- 1
DUT_BRITISH_THERMAL_UNITS_PER_HOUR_SQUARE_FOOT -- 3.15459074506305
Unit Type: UT_HVAC_Cooling_Load_Divided_By_Volume
DUT_WATTS_PER_CUBIC_FOOT -- 10.7639104167097
DUT_WATTS_PER_CUBIC_METER -- 0.3048
DUT_BRITISH_THERMAL_UNITS_PER_HOUR_CUBIC_FOOT -- 3.15459074506305
Unit Type: UT_HVAC_Heating_Load_Divided_By_Volume
DUT_WATTS_PER_CUBIC_FOOT -- 10.7639104167097
DUT_WATTS_PER_CUBIC_METER -- 0.3048
DUT_BRITISH_THERMAL_UNITS_PER_HOUR_CUBIC_FOOT -- 3.15459074506305
Unit Type: UT_HVAC_Airflow_Divided_By_Volume
DUT_CUBIC_FEET_PER_MINUTE_CUBIC_FOOT -- 0.0166666666666667
DUT_LITERS_PER_SECOND_CUBIC_METER -- 0.001
Unit Type: UT_HVAC_Airflow_Divided_By_Cooling_Load
DUT_CUBIC_FEET_PER_MINUTE_TON_OF_REFRIGERATION -- 4.40275459205765E-07
DUT_LITERS_PER_SECOND_KILOWATTS -- 3.28083989501312E-06
Unit Type: UT_HVAC_Area_Divided_By_Cooling_Load
DUT_SQUARE_FEET_PER_TON_OF_REFRIGERATION -- 2.64165275523459E-05
DUT_SQUARE_METERS_PER_KILOWATTS -- 0.001
Unit Type: UT_HVAC_Area_Divided_By_Heating_Load
DUT_SQUARE_METERS_PER_KILOWATTS -- 0.001
DUT_SQUARE_FEET_PER_THOUSAND_BRITISH_THERMAL_UNITS_PER_HOUR -- 0.000316998330628151
Unit Type: UT_WireSize
DUT_DECIMAL_FEET -- 1
DUT_FEET_FRACTIONAL_INCHES -- 1
DUT_DECIMAL_INCHES -- 0.0833333333333333
DUT_FRACTIONAL_INCHES -- 0.0833333333333333
DUT_METERS -- 3.28083989501312
DUT_DECIMETERS -- 0.328083989501312
DUT_CENTIMETERS -- 0.0328083989501312
DUT_MILLIMETERS -- 0.00328083989501312
DUT_METERS_CENTIMETERS -- 3.28083989501312
Unit Type: UT_HVAC_Slope
DUT_1_RATIO -- 1
DUT_RATIO_12 -- 0.0833333333333333
DUT_RATIO_10 -- 0.1
DUT_RISE_OVER_INCHES -- 0.0833333333333333
DUT_RISE_OVER_FOOT -- 1
DUT_RISE_OVER_MMS -- 0.001
DUT_SLOPE_DEGREES -- 0.0174550649282176
DUT_PERCENTAGE -- 0.01
DUT_PER_MILLE -- 0.001
Unit Type: UT_Piping_Slope
DUT_1_RATIO -- 1
DUT_RATIO_12 -- 0.0833333333333333
DUT_RATIO_10 -- 0.1
DUT_RISE_OVER_INCHES -- 0.0833333333333333
DUT_RISE_OVER_120_INCHES -- 0.00833333333333333
DUT_RISE_OVER_FOOT -- 1
DUT_RISE_OVER_10_FEET -- 0.1
DUT_RISE_OVER_MMS -- 0.001
DUT_SLOPE_DEGREES -- 0.0174550649282176
DUT_PERCENTAGE -- 0.01
DUT_PER_MILLE -- 0.001
Unit Type: UT_Currency
DUT_CURRENCY -- 1
Unit Type: UT_MassDensity
DUT_KILOGRAMS_PER_CUBIC_METER -- 0.028316846592
DUT_POUNDS_MASS_PER_CUBIC_FOOT -- 0.45359237
Unit Type: UT_HVAC_Factor
DUT_FIXED -- 1
DUT_PERCENTAGE -- 0.01
Unit Type: UT_Electrical_Temperature
DUT_FAHRENHEIT -- 255.927777777778
DUT_CELSIUS -- 274.15
DUT_KELVIN -- 1
DUT_RANKINE -- 0.555555555555556
Unit Type: UT_Electrical_CableTraySize
DUT_DECIMAL_FEET -- 1
DUT_FEET_FRACTIONAL_INCHES -- 1
DUT_DECIMAL_INCHES -- 0.0833333333333333
DUT_FRACTIONAL_INCHES -- 0.0833333333333333
DUT_METERS -- 3.28083989501312
DUT_DECIMETERS -- 0.328083989501312
DUT_CENTIMETERS -- 0.0328083989501312
DUT_MILLIMETERS -- 0.00328083989501312
DUT_METERS_CENTIMETERS -- 3.28083989501312
Unit Type: UT_Electrical_ConduitSize
DUT_DECIMAL_FEET -- 1
DUT_FEET_FRACTIONAL_INCHES -- 1
DUT_DECIMAL_INCHES -- 0.0833333333333333
DUT_FRACTIONAL_INCHES -- 0.0833333333333333
DUT_METERS -- 3.28083989501312
DUT_DECIMETERS -- 0.328083989501312
DUT_CENTIMETERS -- 0.0328083989501312
DUT_MILLIMETERS -- 0.00328083989501312
DUT_METERS_CENTIMETERS -- 3.28083989501312
Unit Type: UT_Electrical_Demand_Factor
DUT_FIXED -- 1
DUT_PERCENTAGE -- 0.01
Unit Type: UT_HVAC_DuctInsulationThickness
DUT_DECIMAL_FEET -- 1
DUT_FEET_FRACTIONAL_INCHES -- 1
DUT_DECIMAL_INCHES -- 0.0833333333333333
DUT_FRACTIONAL_INCHES -- 0.0833333333333333
DUT_METERS -- 3.28083989501312
DUT_DECIMETERS -- 0.328083989501312
DUT_CENTIMETERS -- 0.0328083989501312
DUT_MILLIMETERS -- 0.00328083989501312
DUT_METERS_CENTIMETERS -- 3.28083989501312
Unit Type: UT_HVAC_DuctLiningThickness
DUT_DECIMAL_FEET -- 1
DUT_FEET_FRACTIONAL_INCHES -- 1
DUT_DECIMAL_INCHES -- 0.0833333333333333
DUT_FRACTIONAL_INCHES -- 0.0833333333333333
DUT_METERS -- 3.28083989501312
DUT_DECIMETERS -- 0.328083989501312
DUT_CENTIMETERS -- 0.0328083989501312
DUT_MILLIMETERS -- 0.00328083989501312
DUT_METERS_CENTIMETERS -- 3.28083989501312
Unit Type: UT_PipeInsulationThickness
DUT_DECIMAL_FEET -- 1
DUT_FEET_FRACTIONAL_INCHES -- 1
DUT_DECIMAL_INCHES -- 0.0833333333333333
DUT_FRACTIONAL_INCHES -- 0.0833333333333333
DUT_METERS -- 3.28083989501312
DUT_DECIMETERS -- 0.328083989501312
DUT_CENTIMETERS -- 0.0328083989501312
DUT_MILLIMETERS -- 0.00328083989501312
DUT_METERS_CENTIMETERS -- 3.28083989501312
Unit Type: UT_Force
DUT_NEWTONS -- 3.28083989501312
DUT_DECANEWTONS -- 32.8083989501312
DUT_KILONEWTONS -- 3280.83989501312
DUT_MEGANEWTONS -- 3280839.89501312
DUT_KIPS -- 14593.9029372064
DUT_KILOGRAMS_FORCE -- 32.1739291338583
DUT_TONNES_FORCE -- 32173.9291338583
DUT_POUNDS_FORCE -- 14.5939029372064
Unit Type: UT_LinearForce
DUT_NEWTONS_PER_METER -- 1
DUT_DECANEWTONS_PER_METER -- 10
DUT_KILONEWTONS_PER_METER -- 1000
DUT_MEGANEWTONS_PER_METER -- 1000000
DUT_KIPS_PER_FOOT -- 14593.9029372064
DUT_KILOGRAMS_FORCE_PER_METER -- 9.8066136
DUT_TONNES_FORCE_PER_METER -- 9806.6136
DUT_POUNDS_FORCE_PER_FOOT -- 14.5939029372064
DUT_KIPS_PER_INCH -- 175126.835246476
Unit Type: UT_AreaForce
DUT_NEWTONS_PER_SQUARE_METER -- 0.3048
DUT_DECANEWTONS_PER_SQUARE_METER -- 3.048
DUT_KILONEWTONS_PER_SQUARE_METER -- 304.8
DUT_MEGANEWTONS_PER_SQUARE_METER -- 304800
DUT_KIPS_PER_SQUARE_FOOT -- 14593.9029372064
DUT_KILOGRAMS_FORCE_PER_SQUARE_METER -- 2.98905582528
DUT_TONNES_FORCE_PER_SQUARE_METER -- 2989.05582528
DUT_POUNDS_FORCE_PER_SQUARE_FOOT -- 14.5939029372064
Unit Type: UT_Moment
DUT_NEWTON_METERS -- 10.7639104167097
DUT_DECANEWTON_METERS -- 107.639104167097
DUT_KILONEWTON_METERS -- 10763.9104167097
DUT_MEGANEWTON_METERS -- 10763910.4167097
DUT_KIP_FEET -- 14593.9029372064
DUT_KILOGRAM_FORCE_METERS -- 105.557510281687
DUT_TONNE_FORCE_METERS -- 105557.510281687
DUT_POUND_FORCE_FEET -- 14.5939029372064
Unit Type: UT_LinearMoment
DUT_NEWTON_METERS_PER_METER -- 3.28083989501312
DUT_DECANEWTON_METERS_PER_METER -- 32.8083989501312
DUT_KILONEWTON_METERS_PER_METER -- 3280.83989501312
DUT_MEGANEWTON_METERS_PER_METER -- 3280839.89501312
DUT_KIP_FEET_PER_FOOT -- 14593.9029372064
DUT_KILOGRAM_FORCE_METERS_PER_METER -- 32.1739291338583
DUT_TONNE_FORCE_METERS_PER_METER -- 32173.9291338583
DUT_POUND_FORCE_FEET_PER_FOOT -- 14.5939029372064
Unit Type: UT_ForceScale
DUT_METERS_PER_KILONEWTON -- 0.001
DUT_FEET_PER_KIP -- 6.85217658567918E-05
Unit Type: UT_LinearForceScale
DUT_SQUARE_METERS_PER_KILONEWTON -- 0.00328083989501312
DUT_SQUARE_FEET_PER_KIP -- 6.85217658567918E-05
DUT_CUBIC_FEET_PER_MINUTE_TON_OF_REFRIGERATION -- 4.40275459205765E-07
DUT_LITERS_PER_SECOND_KILOWATTS -- 3.28083989501312E-06
Unit Type: UT_AreaForceScale
DUT_CUBIC_METERS_PER_KILONEWTON -- 0.0107639104167097
DUT_CUBIC_FEET_PER_KIP -- 6.85217658567918E-05
Unit Type: UT_MomentScale
DUT_INV_KILONEWTONS -- 0.0003048
DUT_INV_KIPS -- 6.85217658567918E-05
Unit Type: UT_LinearMomentScale
DUT_METERS_PER_KILONEWTON -- 0.001
DUT_FEET_PER_KIP -- 6.85217658567918E-05
Unit Type: UT_Stress
DUT_PASCALS -- 0.3048
DUT_KILOPASCALS -- 304.8
DUT_MEGAPASCALS -- 304800
DUT_POUNDS_FORCE_PER_SQUARE_INCH -- 2101.5219336
DUT_BARS -- 30480
DUT_NEWTONS_PER_SQUARE_METER -- 0.3048
DUT_DECANEWTONS_PER_SQUARE_METER -- 3.048
DUT_KILONEWTONS_PER_SQUARE_METER -- 304.8
DUT_MEGANEWTONS_PER_SQUARE_METER -- 304800
DUT_KILONEWTONS_PER_SQUARE_CENTIMETER -- 3048000
DUT_NEWTONS_PER_SQUARE_MILLIMETER -- 304800
DUT_KILONEWTONS_PER_SQUARE_MILLIMETER -- 304800000
DUT_KIPS_PER_SQUARE_FOOT -- 14593.9029372064
DUT_KILOGRAMS_FORCE_PER_SQUARE_METER -- 2.98905582528
DUT_TONNES_FORCE_PER_SQUARE_METER -- 2989.05582528
DUT_POUNDS_FORCE_PER_SQUARE_FOOT -- 14.5939029372064
DUT_KIPS_PER_SQUARE_INCH -- 2101522.02295772
Unit Type: UT_UnitWeight
DUT_POUNDS_FORCE_PER_CUBIC_FOOT -- 14.5939029372064
DUT_KIPS_PER_CUBIC_INCH -- 25218264.2754926
DUT_KILONEWTONS_PER_CUBIC_METER -- 92.90304
Unit Type: UT_Weight
DUT_NEWTONS -- 3.28083989501312
DUT_DECANEWTONS -- 32.8083989501312
DUT_KILONEWTONS -- 3280.83989501312
DUT_MEGANEWTONS -- 3280839.89501312
DUT_KIPS -- 14593.9029372064
DUT_KILOGRAMS_FORCE -- 32.1739291338583
DUT_TONNES_FORCE -- 32173.9291338583
DUT_POUNDS_FORCE -- 14.5939029372064
Unit Type: UT_Mass
DUT_KILOGRAMS_MASS -- 1
DUT_TONNES_MASS -- 1000
DUT_POUNDS_MASS -- 0.45359237
Unit Type: UT_MassPerUnitArea
DUT_POUNDS_MASS_PER_SQUARE_FOOT -- 0.45359237
DUT_KILOGRAMS_MASS_PER_SQUARE_METER -- 0.09290304
Unit Type: UT_ThermalExpansion
DUT_INV_FAHRENHEIT -- 1.8
DUT_MICROINCHES_PER_INCH_FAHRENHEIT -- 1.8E-06
DUT_INV_CELSIUS -- 1
DUT_MICROMETERS_PER_METER_CELSIUS -- 1E-06
Unit Type: UT_ForcePerLength
DUT_NEWTONS_PER_METER -- 1
DUT_DECANEWTONS_PER_METER -- 10
DUT_KILONEWTONS_PER_METER -- 1000
DUT_MEGANEWTONS_PER_METER -- 1000000
DUT_KIPS_PER_FOOT -- 14593.9029372064
DUT_KILOGRAMS_FORCE_PER_METER -- 9.8066136
DUT_TONNES_FORCE_PER_METER -- 9806.6136
DUT_POUNDS_FORCE_PER_FOOT -- 14.5939029372064
DUT_KIPS_PER_INCH -- 175126.835246476
Unit Type: UT_LinearForcePerLength
DUT_INCHES_OF_WATER -- 75.846432
DUT_PASCALS -- 0.3048
DUT_KILOPASCALS -- 304.8
DUT_MEGAPASCALS -- 304800
DUT_POUNDS_FORCE_PER_SQUARE_INCH -- 2101.5219336
DUT_INCHES_OF_MERCURY -- 1032.1713672
DUT_MILLIMETERS_OF_MERCURY -- 40.63666752
DUT_ATMOSPHERES -- 30883.86
DUT_BARS -- 30480
DUT_NEWTONS_PER_SQUARE_METER -- 0.3048
DUT_DECANEWTONS_PER_SQUARE_METER -- 3.048
DUT_KILONEWTONS_PER_SQUARE_METER -- 304.8
DUT_MEGANEWTONS_PER_SQUARE_METER -- 304800
DUT_KILONEWTONS_PER_SQUARE_CENTIMETER -- 3048000
DUT_NEWTONS_PER_SQUARE_MILLIMETER -- 304800
DUT_KILONEWTONS_PER_SQUARE_MILLIMETER -- 304800000
DUT_KIPS_PER_SQUARE_FOOT -- 14593.9029372064
DUT_KILOGRAMS_FORCE_PER_SQUARE_METER -- 2.98905582528
DUT_TONNES_FORCE_PER_SQUARE_METER -- 2989.05582528
DUT_POUNDS_FORCE_PER_SQUARE_FOOT -- 14.5939029372064
DUT_FEET_OF_WATER -- 911.041104
DUT_KIPS_PER_SQUARE_INCH -- 2101522.02295772
Unit Type: UT_AreaForcePerLength
DUT_INCHES_OF_WATER_PER_100FT -- 0.75846432
DUT_PASCALS_PER_METER -- 0.09290304
DUT_FEET_OF_WATER_PER_100FT -- 9.110676216
DUT_POUNDS_FORCE_PER_CUBIC_FOOT -- 14.5939029372064
DUT_KIPS_PER_CUBIC_INCH -- 25218264.2754926
DUT_KILONEWTONS_PER_CUBIC_METER -- 92.90304
DUT_KIPS_PER_CUBIC_FOOT -- 14593.9029372064
Unit Type: UT_ForceLengthPerAngle
DUT_KIP_FEET_PER_DEGREE -- 14593.9029372064
DUT_KILONEWTON_METERS_PER_DEGREE -- 10763.9104167097
Unit Type: UT_LinearForceLengthPerAngle
DUT_KIP_FEET_PER_DEGREE_PER_FOOT -- 47880.2589803358
DUT_KILONEWTON_METERS_PER_DEGREE_PER_METER -- 3280.83989501312
Unit Type: UT_Displacement_Deflection
DUT_DECIMAL_FEET -- 1
DUT_FEET_FRACTIONAL_INCHES -- 1
DUT_DECIMAL_INCHES -- 0.0833333333333333
DUT_FRACTIONAL_INCHES -- 0.0833333333333333
DUT_METERS -- 3.28083989501312
DUT_CENTIMETERS -- 0.0328083989501312
DUT_MILLIMETERS -- 0.00328083989501312
DUT_METERS_CENTIMETERS -- 3.28083989501312
Unit Type: UT_Rotation
DUT_DECIMAL_DEGREES -- 0.0174532925199433
DUT_DEGREES_AND_MINUTES -- 0.0174532925199433
DUT_RADIANS -- 1
DUT_GRADS -- 0.015707963267949
Unit Type: UT_Period
DUT_MILISECONDS -- 0.001
DUT_SECONDS -- 1
DUT_MINUTES -- 60
DUT_HOURS -- 3600
Unit Type: UT_Structural_Frequency
DUT_HERTZ -- 1
Unit Type: UT_Pulsation
DUT_RADIANS_PER_SECOND -- 1
Unit Type: UT_Structural_Velocity
DUT_FEET_PER_MINUTE -- 0.0166666666666667
DUT_METERS_PER_SECOND -- 3.28083989501312
DUT_FEET_PER_SECOND -- 1
DUT_KILOMETERS_PER_HOUR -- 0.911344415281423
DUT_MILES_PER_HOUR -- 1.46666666666667
Unit Type: UT_Acceleration
DUT_METERS_PER_SECOND_SQUARED -- 3.28083989501312
DUT_KILOMETERS_PER_SECOND_SQUARED -- 3280.83989501312
DUT_INCHES_PER_SECOND_SQUARED -- 0.0833333333333333
DUT_FEET_PER_SECOND_SQUARED -- 1
DUT_MILES_PER_SECOND_SQUARED -- 5280
Unit Type: UT_Energy
DUT_JOULES -- 10.7639104167097
DUT_NEWTON_METERS -- 10.7639104167097
DUT_KILOGRAM_FORCE_METERS -- 105.557510281687
DUT_POUND_FORCE_FEET -- 14.5939029372064
DUT_KILOJOULES -- 10763.9104167097
Unit Type: UT_Reinforcement_Volume
DUT_CUBIC_FEET -- 1
DUT_CUBIC_INCHES -- 0.000578703703703704
DUT_CUBIC_METERS -- 35.3146667214886
DUT_CUBIC_CENTIMETERS -- 3.53146667214886E-05
Unit Type: UT_Reinforcement_Length
DUT_DECIMAL_FEET -- 1
DUT_FEET_FRACTIONAL_INCHES -- 1
DUT_DECIMAL_INCHES -- 0.0833333333333333
DUT_FRACTIONAL_INCHES -- 0.0833333333333333
DUT_METERS -- 3.28083989501312
DUT_DECIMETERS -- 0.328083989501312
DUT_CENTIMETERS -- 0.0328083989501312
DUT_MILLIMETERS -- 0.00328083989501312
DUT_METERS_CENTIMETERS -- 3.28083989501312
Unit Type: UT_Reinforcement_Area
DUT_SQUARE_FEET -- 1
DUT_SQUARE_INCHES -- 0.00694444444444444
DUT_SQUARE_METERS -- 10.7639104167097
DUT_SQUARE_CENTIMETERS -- 0.00107639104167097
DUT_SQUARE_MILLIMETERS -- 1.07639104167097E-05
Unit Type: UT_Reinforcement_Area_per_Unit_Length
DUT_SQUARE_FEET_PER_FOOT -- 1
DUT_SQUARE_INCHES_PER_FOOT -- 0.00694444444444444
DUT_SQUARE_MILLIMETERS_PER_METER -- 3.28083989501312E-06
DUT_SQUARE_CENTIMETERS_PER_METER -- 0.000328083989501312
DUT_SQUARE_METERS_PER_METER -- 3.28083989501312
Unit Type: UT_Reinforcement_Spacing
DUT_DECIMAL_FEET -- 1
DUT_FEET_FRACTIONAL_INCHES -- 1
DUT_DECIMAL_INCHES -- 0.0833333333333333
DUT_FRACTIONAL_INCHES -- 0.0833333333333333
DUT_METERS -- 3.28083989501312
DUT_CENTIMETERS -- 0.0328083989501312
DUT_MILLIMETERS -- 0.00328083989501312
DUT_METERS_CENTIMETERS -- 3.28083989501312
Unit Type: UT_Reinforcement_Cover
DUT_DECIMAL_FEET -- 1
DUT_FEET_FRACTIONAL_INCHES -- 1
DUT_DECIMAL_INCHES -- 0.0833333333333333
DUT_FRACTIONAL_INCHES -- 0.0833333333333333
DUT_METERS -- 3.28083989501312
DUT_CENTIMETERS -- 0.0328083989501312
DUT_MILLIMETERS -- 0.00328083989501312
Unit Type: UT_Bar_Diameter
DUT_DECIMAL_FEET -- 1
DUT_FEET_FRACTIONAL_INCHES -- 1
DUT_DECIMAL_INCHES -- 0.0833333333333333
DUT_FRACTIONAL_INCHES -- 0.0833333333333333
DUT_METERS -- 3.28083989501312
DUT_CENTIMETERS -- 0.0328083989501312
DUT_MILLIMETERS -- 0.00328083989501312
Unit Type: UT_Crack_Width
DUT_DECIMAL_FEET -- 1
DUT_FEET_FRACTIONAL_INCHES -- 1
DUT_DECIMAL_INCHES -- 0.0833333333333333
DUT_FRACTIONAL_INCHES -- 0.0833333333333333
DUT_METERS -- 3.28083989501312
DUT_CENTIMETERS -- 0.0328083989501312
DUT_MILLIMETERS -- 0.00328083989501312
DUT_METERS_CENTIMETERS -- 3.28083989501312
Unit Type: UT_Section_Dimension
DUT_DECIMAL_FEET -- 1
DUT_FEET_FRACTIONAL_INCHES -- 1
DUT_DECIMAL_INCHES -- 0.0833333333333333
DUT_FRACTIONAL_INCHES -- 0.0833333333333333
DUT_METERS -- 3.28083989501312
DUT_CENTIMETERS -- 0.0328083989501312
DUT_MILLIMETERS -- 0.00328083989501312
DUT_METERS_CENTIMETERS -- 3.28083989501312
Unit Type: UT_Section_Property
DUT_DECIMAL_FEET -- 1
DUT_FEET_FRACTIONAL_INCHES -- 1
DUT_DECIMAL_INCHES -- 0.0833333333333333
DUT_FRACTIONAL_INCHES -- 0.0833333333333333
DUT_METERS -- 3.28083989501312
DUT_CENTIMETERS -- 0.0328083989501312
DUT_MILLIMETERS -- 0.00328083989501312
DUT_METERS_CENTIMETERS -- 3.28083989501312
Unit Type: UT_Section_Area
DUT_SQUARE_FEET -- 1
DUT_SQUARE_INCHES -- 0.00694444444444444
DUT_SQUARE_METERS -- 10.7639104167097
DUT_SQUARE_CENTIMETERS -- 0.00107639104167097
DUT_SQUARE_MILLIMETERS -- 1.07639104167097E-05
Unit Type: UT_Section_Modulus
DUT_CUBIC_FEET -- 1
DUT_CUBIC_INCHES -- 0.000578703703703704
DUT_CUBIC_METERS -- 35.3146667214886
DUT_CUBIC_CENTIMETERS -- 3.53146667214886E-05
DUT_CUBIC_MILLIMETERS -- 3.53146667214886E-08
Unit Type: UT_Moment_of_Inertia
DUT_FEET_TO_THE_FOURTH_POWER -- 1
DUT_INCHES_TO_THE_FOURTH_POWER -- 4.82253086419753E-05
DUT_MILLIMETERS_TO_THE_FOURTH_POWER -- 1.15861767458952E-10
DUT_CENTIMETERS_TO_THE_FOURTH_POWER -- 1.15861767458952E-06
DUT_METERS_TO_THE_FOURTH_POWER -- 115.861767458952
Unit Type: UT_Warping_Constant
DUT_FEET_TO_THE_SIXTH_POWER -- 1
DUT_INCHES_TO_THE_SIXTH_POWER -- 3.34897976680384E-07
DUT_MILLIMETERS_TO_THE_SIXTH_POWER -- 1.24712568564981E-15
DUT_CENTIMETERS_TO_THE_SIXTH_POWER -- 1.24712568564981E-09
DUT_METERS_TO_THE_SIXTH_POWER -- 1247.12568564981
Unit Type: UT_Mass_per_Unit_Length
DUT_KILOGRAMS_MASS_PER_METER -- 0.3048
DUT_POUNDS_MASS_PER_FOOT -- 0.45359237
Unit Type: UT_Weight_per_Unit_Length
DUT_NEWTONS_PER_METER -- 1
DUT_DECANEWTONS_PER_METER -- 10
DUT_KILONEWTONS_PER_METER -- 1000
DUT_MEGANEWTONS_PER_METER -- 1000000
DUT_KIPS_PER_FOOT -- 14593.9029372064
DUT_KILOGRAMS_FORCE_PER_METER -- 9.8066136
DUT_TONNES_FORCE_PER_METER -- 9806.6136
DUT_POUNDS_FORCE_PER_FOOT -- 14.5939029372064
DUT_KIPS_PER_INCH -- 175126.835246476
Unit Type: UT_Surface_Area
DUT_SQUARE_FEET_PER_FOOT -- 1
DUT_SQUARE_METERS_PER_METER -- 3.28083989501312
Unit Type: UT_Pipe_Dimension
DUT_DECIMAL_INCHES -- 0.0833333333333333
DUT_FRACTIONAL_INCHES -- 0.0833333333333333
DUT_CENTIMETERS -- 0.0328083989501312
DUT_MILLIMETERS -- 0.00328083989501312
Unit Type: UT_PipeMass
DUT_KILOGRAMS_MASS -- 1
DUT_TONNES_MASS -- 1000
DUT_POUNDS_MASS -- 0.45359237
Unit Type: UT_PipeMassPerUnitLength
DUT_KILOGRAMS_MASS_PER_METER -- 0.3048
DUT_POUNDS_MASS_PER_FOOT -- 0.45359237
Let’s put aside those HVAC units at this moment and focus on the last two unit types, Pipe Mass and Pipe Mass Per Unit Length. Clearly, the Pipe Mass has the internal unit as Kilograms Mass. Adding another simple fact that Revit uses FEET (no matter fractional or decimal) as the internal unit for length, the PipeMassPerUnitLength should have KILOGRAMS_MASS_PER_FOOT as internal, but the fact is that it’s not available! This explains also why a lot more other unit types don’t have internal units either. Not sure what the UnitUtils.ConvertToInternalUnits() method is going to really convert in these cases!
People can understand that Revit cannot cover all units of the real world as there are tons and some new are emerging, however, it is pretty out of expectation that not every unit type has an internal unit. Anyway, that is what it is! Hope the code and analysis here can help readers get some ideas about it.
Revit Addin Wizard (RevitAddinWizard) provides various wizards, coders and widgets to help program Revit addins. It can be downloaded from the Download link at the bottom of the blog index page.