Stores the index in the array of applicable units
Namespace: Autodesk.Revit.DB.AnalysisAssembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public int CurrentUnits { get; set; }Property Value
Int32
Exceptions
| Exception | Condition |
|---|
| ArgumentOutOfRangeException |
When setting this property: currentUnits is not in the range from 0 to (number of applicable units - 1)
|
Remarks
Must be between 0 and (number of applicable units - 1)
See Also
Reference