# Get Documents - Archilab

**URL:** <https://forum.dynamobim.com/t/get-documents-archilab/41086>\
**Category:** Packages\
**Created:** [September 25, 2019, 6:26pm UTC](https://forum.dynamobim.com/t/get-documents-archilab/41086 "2019-09-25T18:26:01Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![cmalloyWB5CB](https://avatars.discourse-cdn.com/v4/letter/c/439d5e/32.png) [@cmalloyWB5CB](https://forum.dynamobim.com/u/cmalloyWB5CB)\
**Post date:** [September 25, 2019, 6:26pm UTC](https://forum.dynamobim.com/t/get-documents-archilab/41086/1 "2019-09-25T18:26:02Z")

</div>

I am trying to get elements from a linked Revit file. I have downloaded Archilab to use the “Get Documents” node, but I can not find it.

Is this still available or is there an alternative way to do this?

---

<div class="post-metadata">

**Author:** ![Kulkul](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/kulkul/32/49801_2.png) [@Kulkul](https://forum.dynamobim.com/u/Kulkul)\
**Post date:** [September 25, 2019, 6:37pm UTC](https://forum.dynamobim.com/t/get-documents-archilab/41086/2 "2019-09-25T18:37:17Z")

</div>

Hi @cmalloyWB5CB

Which version of archi-lab did you install?  
You can also get link Documents by using few lines of python:

```
import clr 
clr.AddReference("RevitAPI")
from Autodesk.Revit.DB import*

clr.AddReference("RevitServices")
from RevitServices.Persistence import DocumentManager 

doc=DocumentManager.Instance.CurrentDBDocument

link_inst=FilteredElementCollector(doc).OfCategory(BuiltInCategory.OST_RvtLinks).WhereElementIsNotElementType()

linkDoc, linkName = [], []
for i in link_inst:
	linkDoc.append(i.GetLinkDocument())
	linkName.append(i.Name)

OUT=link_inst,linkDoc,linkName 

```

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/3/a/3afdc4c7333118b270d53e24b0575bbd86652f7f.png)

---

<div class="post-metadata">

**Author:** ![cmalloyWB5CB](https://avatars.discourse-cdn.com/v4/letter/c/439d5e/32.png) [@cmalloyWB5CB](https://forum.dynamobim.com/u/cmalloyWB5CB)\
**Post date:** [September 25, 2019, 6:59pm UTC](https://forum.dynamobim.com/t/get-documents-archilab/41086/3 "2019-09-25T18:59:55Z")

</div>

I think I am getting closer, but now I am stuck getting trying to get the rooms. Any advice?

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/5/7/5733d3151207935106ebd846efa51c9864003f93.png)

---

<div class="post-metadata">

**Author:** ![Kulkul](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/kulkul/32/49801_2.png) [@Kulkul](https://forum.dynamobim.com/u/Kulkul)\
**Post date:** [September 25, 2019, 7:12pm UTC](https://forum.dynamobim.com/t/get-documents-archilab/41086/4 "2019-09-25T19:12:19Z")

</div>

You’re feeding wrong inputs to LinkDoc. Use 1 index at List.GetItemAtIndex. 2 is for getting Link Name. Does that makes sense?

---

<div class="post-metadata">

**Author:** ![cmalloyWB5CB](https://avatars.discourse-cdn.com/v4/letter/c/439d5e/32.png) [@cmalloyWB5CB](https://forum.dynamobim.com/u/cmalloyWB5CB)\
**Post date:** [September 25, 2019, 7:16pm UTC](https://forum.dynamobim.com/t/get-documents-archilab/41086/5 "2019-09-25T19:16:44Z")

</div>

Thank you!
