Get Linked Rooms From Views


I am trying to get a list of linked rooms which exist in the current document’s respective views. I am aware of how one could extract all rooms from a linked file via Element.GetFromLinkedFile. How does one then be more specific and find linked rooms only for a list of specificed floor plan views? Ideally it would be like the node Elements.ByCategoryAndView but for searching for linked elements. I’d like to avoid making elaborate tests but rather seeing if there is a node I do not know about or a more efficient method than running a bunch of tests. Thanks!


1 Like