Returns all elements joined to given element.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)
Syntax
C#
public static ICollection<ElementId> GetJoinedElements( Document document, Element element )
Parameters
Return Value
ICollection<ElementId>The set of elements that are joined to the given element.
Exceptions
Exception | Condition |
---|---|
ArgumentException | document is not a project document. -or- The element element was not found in the given document. |
ArgumentNullException | A non-optional argument was null |