Finding elements which have no host

Hi,

I have searched these forums and the internet but was not able to find an answer to this simple question: -

I am trying to use dynamo to tell me which family element does not have a host. I want to then be able to select the element from within dynamo and re-host it within revit. So i want Dynamo to give me a list, i will manually evaluate whether the element should be hosted to something.


The image shows my current graph whereby i have to manually scroll up and down to match the elemtn id with the “null” host node…!

thanks

Hi,

You can do it with a AllIndicesOf and then sort them out by that :slight_smile:

filter by boolean mask splitting into two lists, make your mask with the contains node, then use the indexof to get the nulls related objects

1 Like

would you be ableto guide me further? i’m having trouble doing what you have suggested


dont look at the first part of the graph, it is just to make me a list with mixed items

1 Like