Revit 2026 API
Document |
Returns set of elements that were modified according to the given element filter.
Namespace: Autodesk.Revit.DB.Events
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public ICollection<ElementId> GetModifiedElementIds( ElementFilter filter )
Public Function GetModifiedElementIds ( filter As ElementFilter ) As ICollection(Of ElementId)
public: ICollection<ElementId^>^ GetModifiedElementIds( ElementFilter^ filter )
member GetModifiedElementIds : filter : ElementFilter -> ICollection<ElementId>
Parameters
- filter ElementFilter
- The element filter to be applied.
Return Value
ICollectionElementIdThe set of ElementId for modified elements that pass the filter. Returns empty set if no elements are found which pass the filter.

Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |
See Also