I have multiple linked documents and I am trying to select a specific one to feed into archi-lab node “get all elements from linked model”. This is what I have set up but I am getting null…
Hey, if you right click on that node “Get all elements from linked model” and then click “Edit Custom Node…” You should be brought to a yellow dynamo screen and you should see workspace references and potentially that you have the wrong version of DynamoIronPython once you fix that by installing that version it should work fine for you. It corrected it for me once i did that.
You need to use Link Instance.
Try setting the list level of the _linkDoc input to @L1 and see if that fixes it.
The archilab “Get All Elements From Linked Model” node usually wants the actual linked Document, but Select.GetDocuments and GetItemAtIndex can hand it a wrapper or the RevitLinkInstance rather than the underlying Document, which quietly returns null. Check what website type your Watch shows just before it, you want an Autodesk.Revit.DB.Document, not a link instance. Some versions of that node also want the linkDoc and category lists to match in structure. Which archilab version and Revit year are you on? That node changed inputs across releases.



