Revit 2025 API
Selection |
Adds a set of ElementIds to the filter's set.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public void AddSet( ICollection<ElementId> ids )
Public Sub AddSet ( ids As ICollection(Of ElementId) )
public: void AddSet( ICollection<ElementId^>^ ids )
member AddSet : ids : ICollection<ElementId> -> unit
Parameters
- ids ICollectionElementId
- The set of ElementIds to add.

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