Revit 2025 API
Analysis |
Stores the index in the array of applicable units
Namespace: Autodesk.Revit.DB.Analysis
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public int CurrentUnits { get; set; }
Public Property CurrentUnits As Integer Get Set
public: property int CurrentUnits { int get (); void set (int value); }
member CurrentUnits : int with get, set
Property Value
Int32
Exception | Condition |
---|---|
ArgumentOutOfRangeException | When setting this property: currentUnits is not in the range from 0 to (number of applicable units - 1) |

Must be between 0 and (number of applicable units - 1)
See Also