namespace Autodesk.Revit.DB
{public static class JoinGeometryUtils{public static bool AreElementsJoined(Document document, Element firstElement, Element secondElement);public static ICollection<ElementId> GetJoinedElements(Document document, Element element);public static bool IsCuttingElementInJoin(Document document, Element firstElement, Element secondElement);public static void JoinGeometry(Document document, Element firstElement, Element secondElement);public static void SwitchJoinOrder(Document document, Element firstElement, Element secondElement);public static void UnjoinGeometry(Document document, Element firstElement, Element secondElement);}
}