# Family of Linked Element

**URL:** <https://forum.dynamobim.com/t/family-of-linked-element/103945>\
**Category:** Developers\
**Tags:** python\
**Created:** [August 28, 2024, 10:00am UTC](https://forum.dynamobim.com/t/family-of-linked-element/103945 "2024-08-28T10:00:10Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Draxl\_Andreas](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/draxl_andreas/32/145744_2.png) [@Draxl\_Andreas](https://forum.dynamobim.com/u/Draxl_Andreas)\
**Post date:** [August 28, 2024, 10:24am UTC](https://forum.dynamobim.com/t/family-of-linked-element/103945/2 "2024-08-28T10:24:14Z")

</div>

@Jin

start with topics like this

> [@How to get the linked room of a element in the current doc?](https://forum.dynamobim.com/t/how-to-get-the-linked-room-of-a-element-in-the-current-doc/102925):
>
> Hello, i stuck i want to get from an element the room, the room is linked #rainbow links linked\_docs = FilteredElementCollector(doc).OfCategory(BuiltInCategory.OST\_RvtLinks).WhereElementIsNotElementType().ToElements() lnkInstance = [i for i in linked\_docs if i.Name.Contains("AR")] doclnk = lnkInstance[0].GetLinkDocument() selection = uidoc.Selection #type: Selection # Get selected floors or ask user to pick: selectedIds = uidoc.Selection.GetElementIds() # phase = doc.GetPhaseStatus(1) re…

show your progress

---

_[View the full topic](https://forum.dynamobim.com/t/family-of-linked-element/103945)._
