Current Property


Gets the item at the current position of the iterator.

Namespace: Autodesk.Revit.DB.Mechanical
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)

Syntax

C#
public virtual MEPSize Current { get; }
Visual Basic
Public Overridable ReadOnly Property Current As MEPSize
	Get
Visual C++
public:
virtual property MEPSize^ Current {
	MEPSize^ get ();
}

Implements

IEnumeratorTCurrent

Remarks

There is no current item if the iterator has not started yet or has been done.

Exceptions

ExceptionCondition
Autodesk.Revit.ExceptionsInvalidOperationException There is no current item in the iterator.

See Also

ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →