GetCurrent Method


Returns the current repeater slot.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 2015.0.0.0 (2015.0.0.0)
Since: 2014

Syntax

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

Return Value

The current slot.

Exceptions

Exception Condition
Autodesk.Revit.Exceptions InvalidOperationException There is no current item in the iterator.

See Also

ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →