T_Rhino_UnitSystem - mcneel/rhinocommon-api-docs GitHub Wiki

UnitSystem Enumeration

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

Namespace: Rhino
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0

Syntax

C#

public enum UnitSystem

VB

Public Enumeration UnitSystem

Members

 

Member name Value Description
None 0 ON::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 defitions that should be imported or referenced with no scaling applied.
Angstroms 12 1 angstroms = 1.0e-10 meters
Nanometers 13 1 nanometer = 1.0e-9 meters
Microns 1 1 micron = 1.0e-6 meters
Millimeters 2 1 millimeter = 1.0e-3 meters
Centimeters 3 1 centimeter = 1.0e-2 meters
Decimeters 14 1 decimeter = 1.0e-1 meters
Meters 4 SI meter length unit
Dekameters 15 1 dekameter = 1.0e+1 meters
Hectometers 16 1 hectometer = 1.0e+2 meters
Kilometers 5 1 kilometer = 1.0e+3 meters
Megameters 17 1 megameter = 1.0e+6 meters
Gigameters 18 1 gigameter = 1.0e+9 meters
Microinches 6 1 microinches = 2.54e-8 meters = 1.0e-6 inches
Mils 7 1 mil = 2.54e-5 meters = 0.001 inches
Inches 8 1 inch = 0.0254 meters = 1/12 foot
Feet 9 1 foot = 0.3048 meters (12 inches)
Yards 19 1 foot = 0.3048 meters = 12 inches
Miles 10 1 US statute mile = 1609.344 meters = 5280 feet
PrinterPoint 20
PrinterPica 21
NauticalMile 22
Astronomical 23
Lightyears 24
Parsecs 25 1 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)
CustomUnitSystem 11

Version Information

Supported in: 5D58w

See Also

Reference

Rhino Namespace

⚠️ **GitHub.com Fallback** ⚠️