Share

Autodesk.AutoCAD.DatabaseServices.UnitsValue Enumeration

Description

This .NET class wraps AcDb::UnitsValue ObjectARX class. It indicates the type of units of length measure used by the drawing.

Visual Basic

Public Enum UnitsValue
  Undefined
  Inches
  Feet
  Miles
  Millimeters
  Centimeters
  Meters
  Kilometers
  MicroInches
  Mils
  Yards
  Angstroms
  Nanometers
  Microns
  Decimeters
  Dekameters
  Hectometers
  Gigameters
  Astronomical
  LightYears
  Parsecs
  USSurveyFeet
  USSurveyInch
  USSurveyYard
  USSurveyMile
End Enum

C#

public enum UnitsValue {
  Undefined,
  Inches,
  Feet,
  Miles,
  Millimeters,
  Centimeters,
  Meters,
  Kilometers,
  MicroInches,
  Mils,
  Yards,
  Angstroms,
  Nanometers,
  Microns,
  Decimeters,
  Dekameters,
  Hectometers,
  Gigameters,
  Astronomical,
  LightYears,
  Parsecs,
  USSurveyFeet,
  USSurveyInch,
  USSurveyYard,
  USSurveyMile
}

Members

Members Description
Undefined Length undefined.
Inches Length indicated in Inches.
Feet Length indicated in feet.
Miles Length indicated in Miles, which equals to about 1609 Kilometers.
Millimeters Length indicated in Millimeters, which equals to one thousandth of a meter.
Centimeters Length indicated in Centimeters.
Meters Length indicated in Meters.
Kilometers Length indicated in kilometers.
MicroInches Length indicated in MicroInches, which equals one millionth of an inch.
Mils Length indicated in Mils, which equals to one thousandth of an inch.
Yards Length indicated in Yards, which equals to about 0.91 meters.
Angstroms Length indicated in Ansgtroms unit, which equals to one ten billionth of a meter.
Nanometers Length indicated in Nanometers, which equals to one billionth of a meter.
Microns Length indicated in Microns, which equals to 1 millionth of a meter.
Decimeters Length indicated in Decimeters, which equals to one tenth of a meter.
Dekameters Length indicated in Dekameters, which equals to 10 meters.
Hectometers Length indicated in Hectometer, which equals 100 meters.
Gigameters Length indicated in Gigameters, which equals 109 meters.
Astronomical Length indicated in Astronomical unit.
LightYears Length indicated in Light years, which equals to about 9.46 � 1012 kilometers.
Parsecs Length indicated in Parsecs, which equals to about 19 trillion miles.

Was this information helpful?