Get Elements from Nested Linked Models (Linked Models within Linked Models)

Hi @c.poupin thank you for your great solution, it’s works like a charm but it’s still possible use it in the case of the nested links “GO_RVT1.rvt” file is set to Overlay (not Attachment) in the “RVT level 1.rvt” file? I have unespected error when I try get “GetLinkDocument()” from the nested links set Overlay. Maybe it’s a bug?


below some links, from @SeanP

and another from Revit API Forum

Thanks in advance. Have a good day Cheers