Placing an object by linked file at a specific level


Im trying to to make a dynamo script for placing electrical sockets by coordinates from a linked file. In this case Im using doors (categori) as a reference. But don`t figure how to filter the “categori” at a spesific level. I need the electrical outlets to be be referred to the same level as the reference point, in my case doors from the linked model.

Does anyone know how to filter out the doors at each level?

Take a look at the BIMorph package. It has nodes for getting linked elements and their parameters.

Basically, just do this:

Instead of Mark ask for Level and then you can use List.GroupByKey to group all the doors by their level.

1 Like

Steven, Thank you so much!