please see below image. that is the family was opened in revit.
I create a simple dynamo file to generate the solids.
for the “vertical” cube, it looks the result is right.
but for the “horizontal” cube, the result is not I expected.
I guess maybe it caused by below two possible resaons
1: the limitation of the element.solids function
2: the definition of the family is not good.
however, I did not know how to troubleshooting it . your comments are appreciated. thank you.