Returns a set of ElementIds for Elements joined to the provided host element.
Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)
Syntax
C#
public static ISet<ElementId> GetRebarHostDirectNeighbors( Element hostElement )
Parameters
- hostElement Element
- The host element. Must be an element that can host reinforcement.
Return Value
ISet<ElementId>The neighbor ids.
Exceptions
Exception | Condition |
---|---|
ArgumentException | hostElement is not a valid rebar host. |
ArgumentNullException | A non-optional argument was null |