Extract surfaces solids

Oh really
I have not tried it before
May this link help you

or using civil api
https://help.autodesk.com/view/CIV3D/2022/ENU/?guid=a928536c-2ef0-ca28-1903-b00359295053