RayBounce linked files

Hello everyone, I’m trying to create a script that will be able to get the elements from the linked files by using RayBounce. So far I’ve got some code that will get me the elements and distances I want by using “ReferenceIntersector”: http://revitapisearch.com/html/c4fb6c89-ca34-7c56-b730-98755d11fedf.htm , but I don’t know how to use the “FindReferencesInRevitLinks” property in my code so that it returns the elements from the linked files. This is the code I have so far which gets me only the elements from the host Revit model:

Does anyone know how to enable this property via python?

2 Likes