I have this issue, where Element.Solids creates Empty List for some of Revit Elements. And that doesn’t allow me to Solid.ByUnion, because it can’t Union an empty collection of solids. So I assume there is an issue with Revit element.
How could I overcome this issue? How could I check what is wrong with that element?
I was thinking of some way to exclude all those empty lists and continue work without them. What would be the easiest worflow to do that?