UnitSystem

References
public enum UnitSystem
ON::LengthUnitSystem identifies a length unit system United States customary length units references: http://www.nist.gov/pml/wmd/metric/upload/frn-59-5442-1959.pdf http://en.wikipedia.org/wiki/United_States_customary_units http://en.wikipedia.org/wiki/International_yard_and_pound

Enum values

NameValueDescription
None0ON::LengthUnitSystem::None indicates no length unit system. The scale factor when converting between a specified unit system and None is always 1.0. ON::LengthUnitSystem::None is used as a unit system for models and instance definitions that should be imported or referenced with no scaling applied.
Microns11 micron = 1.0e-6 meters
Millimeters21 millimeter = 1.0e-3 meters
Centimeters31 centimeter = 1.0e-2 meters
Meters4SI meter length unit
Kilometers51 kilometer = 1.0e+3 meters
Microinches61 microinches = 2.54e-8 meters = 1.0e-6 inches
Mils71 mil = 2.54e-5 meters = 0.001 inches
Inches81 inch = 0.0254 meters = 1/12 foot
Feet91 foot = 0.3048 meters (12 inches)
Miles101 US statute mile = 1609.344 meters = 5280 feet
CustomUnits11The name of a custom unit and the conversion to meters are saved in the ON_UnitSystem class.
Angstroms121 angstroms = 1.0e-10 meters
Nanometers131 nanometer = 1.0e-9 meters
Decimeters141 decimeter = 1.0e-1 meters
Dekameters151 dekameter = 1.0e+1 meters
Hectometers161 hectometer = 1.0e+2 meters
Megameters171 megameter = 1.0e+6 meters
Gigameters181 gigameter = 1.0e+9 meters
Yards191 foot = 0.3048 meters = 12 inches
PrinterPoints201 printer point = 1/72 inch
PrinterPicas211 printer pica = 1/6 inch
NauticalMiles221 nautical mile = 1852 meters Approximately 1 minute of arc on a terrestrial great circle. Reference: http://en.wikipedia.org/wiki/Nautical_mile
AstronomicalUnits231 astronomical unit = 1.4959787e+11 meters An astronomical unit (au) is the mean distance from the center of the earth to the center of the sun. References: http://en.wikipedia.org/wiki/Astronomical_unit (1.4959787e+11 meters) http://units.nist.gov/Pubs/SP811/appenB9.htm (1.495979e+11 meters)
LightYears241 light year = 9.4607304725808e+15 meters A light year is the distance light travels in one Julian year. The speed of light is exactly 299792458 meters/second. A Julian year is exactly 365.25 * 86400 seconds and is approximately the time it takes for one earth orbit. References: http://en.wikipedia.org/wiki/Light_year (9.4607304725808e+15 meters) http://units.nist.gov/Pubs/SP811/appenB9.htm (9.46073e+15 meters)
Parsecs251 parsec = 3.08567758e+16 meters References: http://en.wikipedia.org/wiki/Parsec (3.08567758e+16 meters) http://units.nist.gov/Pubs/SP811/appenB9.htm (3.085678e+16)
Unset255The ON::LengthUnitSystem::Unset is used to indicate no unit system is set. This is a different condition from ON::LengthUnitSystem::None.