Creates a new Units object with default settings for Metric or Imperial units.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public Units(
UnitSystem unitSystem
)
Parameters
- unitSystem UnitSystem
-
Indicates whether the Units object should be initialized with default settings for Metric or Imperial units.
Exceptions
See Also
Reference