GetCurrent Method


Returns the current MEPSize.

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

Syntax

C#
public MEPSize GetCurrent()
Visual Basic
Public Function GetCurrent As MEPSize
Visual C++
public:
MEPSize^ GetCurrent()

Return Value

The current MEPSize.

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 →