GetJoinedElements Revit API Python Component

Hi all, I’m trying to get elements that are joined to input Element by Revit GetJoinedElements Method. I used as a reference Join Elements Python Component from this topic Join Two sets of Geometry using Grasshopper
but i dont really have a good understanding of Python, so my edited component doesn’t return results in output, it just returns Nulls. Does Anyone have an idea of how to get this work?


GetJoinedElements.gh (4.8 KB)

Hi,

Following definition gets the joined element from given list of element(s).

Get Joined Element.gh (6.0 KB)

1 Like

Hi, thank you so much for your quick responce and solution! This works perfectly for my purpose!

To continuation of this topic is there also Cut tool component for elements? In some cases we need not only Join But Cut Elements from each other.
Thanks!