Cut and Fill volume extraction with dynamo

Hey everybody,

I am trying to calculate the fill and cut volumes of a road corridor with dynamo.
Therefore, I firstly create solids out of the difference of the DGM and the Datum surface of the corridor.
However, afterwards I can’t calculate the centroid of the solids for evaluating whether it is a cut or a fill. The centroid has the coordinates (0 0 0) which can’t be correct.
Does anyone know what could be the problem there? Or is there any other solution for calculating the cut and fill volumes of a corridor?

Thanks in advance!

I’d use the Cut & Fill Volume and Cut & Fill Report/tables in Civil3D- someone has done the hard work for you…

1 Like