Mesh to Solid

Hello

This topic talk about it : Convert Mesh to Solid - Autodesk Community

I don’t think there is an efficient solution with Revit API to convert a Mesh to Solid without getting an internal error sometimes. I hope I am wrong because DirectShapes cannot get material and subCategory, and FreeFormElement needs a Solid to work.

However, in Dynamo you can look this method to create a solid by joining mesh surfaces : Conver Mesh to solid in dynamo by "Solid.ByjoinSurface"