RVTDocs.com

JoinGeometryUtils.GetJoinedElements

Method
Description:
Returns all elements joined to given element.
Remarks:
This functionality is not available for family documents.
Syntax
public static ICollection<ElementId> GetJoinedElements(
	Document document,
	Element element
)
Parameters
Parameter Type Description
document Document The document containing the element.
element Element The element.
Return Value
Type Description
ICollection 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