How to get all elements of linked file in active view?

revit
steamnodes
archi-lab
dynamo

#1

I want to get all elements from linked file in active view, I am using steamnode to get element from linked file. is there any filter node I can use here to get only elements of active view.


#2

Hi,

You can use GetLinkedElement.InHostViewAndCategory from Data-Shapes package.


#3

Hi @Alban_de_Chasteigner

please see the below I am getting null as a result


#4

Don’t input a list of document in LinkDoc.
Use a GetItemAtIndex node to not have a list.

There is also the node Get Elements in View in Document by Category from Bakery package.


#5

You need to update Dynamo. Once that’s done you can run with the document input set to level 1 which should cause it to iterate over the list correctly.


#6

Hi @Alban_de_Chasteigner

Its working only for plan view but not for sections and 3D views. Or else I am missing something? Is there any other node that works for plan, sections and 3D views ?


#7

For a 3D active view you can use the Bimorph package with a bounding box contains like this :


#8

Thank you! Its working now.


#9

Hi,

I would like to let you know that the collect of elements from linked file in a 3D active view is now easier with the latest version of the Genius Loci package.