Display filtered list of geometry

I’m trying to display the geometry of a filtered list but I can’t figure out the correct node(s) to use to convert the list of filtered non-Empty List elements back to Dynamo elements. Also, if there’s a better way to filter the Empty List items from the geometry I’d love to hear it. I’m running Dynamo in Revit 2025.4. Thanks all!

I think you’ve got it now. The List.IsNotEmpty is giving you a boolean value now, so all you need to do is filter things.

If your goal is Revit elements not geometry, you can wire the AllElementsOfCategory node into the the list input of the List.FilterByBoolMask node. The ‘in’ output will be elements that have geometry conversion, while the ‘out’ output will be those which do not. If you want geometry from those which have a such content in Dynamo you can pull the geometry again from there.

Note that you likely want to disable the geometry preview of the Element.Geometry node as that can cause confusion down the line.

Hi…
Connect the node of List.FilterByBoolMask having input of ‘list’ to ‘All Elements of category’

Thanks @jacob.small. I knew it had to be something ridiculously simple that I was overlooking. :confused:

1 Like