Get All Elements From Linked Model by Archi-lab

Is returning me
traceback (most recent call last):

File “<string>”, line 32, in <module>

TypeError: expected Document, got list



It is connected to the Get Documents from archi-lab to

Any idea what im doing wrong?

Need to give it an item from the list not the entire list.

Passing the first item of the the list won’t change the error message

I can’t seem to be able to upload a picture to the forum so here’s a link

I’m facing the same issue, unable to understand what’s going wrong here. The same error is showing up whenever any of the 4 outputs of Get Documents is used.


As explained earlier, this should work:

1 Like

Hi All,

There is a video about getting all elements from all linked models below.Dynamo - Get All Elements from All Linked Models

I hope it is helpful!!

Posting this to help anyone trying to loop through the linked documents. You need to edit the GetAllElementsFromLinkedModel node. The python script is setup to retrieve only one element at a time. Some simple edits can allow for it to loop through the list of linkDocs and append those to a results list.