2027 Method
Changes 5
M

RebarHostData.GetRebarHostDirectNeighbors

Description:
Returns a set of ElementIds for Elements joined to the provided host element.
Remarks:
This function returns the first level of neighbors for the provided host, meaning elements that are joined directly to the provided host element (not the neighbors of the joined elements also). These elements can also host reinforcement.
public static ISet<ElementId> GetRebarHostDirectNeighbors(
	Element hostElement
)
  • hostElement
    The host element. Must be an element that can host reinforcement.
Return Value ISet<ElementId> The neighbor ids.