Unable to Union two solids categorized structural framing

I’m testing out an Autodesk University course for parametric design of a crane script. And now i’m running into problems with the elements modelled in Revit

Its specificallyt the Structural Framing which generated an error on Solid.ByUnion
Seems like i have some elements which causes this error, and generates null values, but i cant seem to find out how to fix it.

Is there a way to fix it either in Dynamo, or find out which elements causes the problem and fix these in Revit if needed.
Im using:
Revit 2019
Dynamo 2.x

And the following packages:

LiftRangeCapacity2.xlsx (10.4 KB)
Parametric Crane Optimization.dyn (205.4 KB)
Revit model: https://we.tl/t-EC8hiJpx1h

Hey Pedersen,

Is the problem solved? Seems that the revit file is not available through that link.


Hello Jaaamie.

No i did not solve my problem yet.
I can load up a new link for the Revit model: https://we.tl/t-v2EK3PaXTW