Stores the index in the array of applicable units
Namespace: Autodesk.Revit.DB.Analysis
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
C#
public int CurrentUnits { get; set; }
Property Value
Int32Exceptions
Exception | Condition |
---|---|
ArgumentOutOfRangeException | When setting this property: currentUnits is not in the range from 0 to (number of applicable units - 1) |