Revit 2025.3 API
Element |
Removes a specified element from the set.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public virtual int Erase( Element item )
Public Overridable Function Erase ( item As Element ) As Integer
public: virtual int Erase( Element^ item )
abstract Erase : item : Element -> int override Erase : item : Element -> int
Parameters
- item Element
- The element to be erased.
Return Value
Int32The number of elements that were erased from the set.
See Also