Is there a way to get surfaces volumes from Dynamo?

Hello, I’m trying to create a script that adjust the length of a corridor based on a target volume.
First I was trying to get the volume from a TIN surface, but I had no luck getting that.
Then I thought of creating a solid from the surfaces (existing and proposed) but there is not a “Extract solid from surface” node.
Thanks,

Hi,
you can get solids and volume of the corridor like that:

1 Like

@jduran you could create the solids between surfaces in Dynamo and then extract the volume.
You have to create a watertight solid using the surfaces from the TIN and creating the necessary lateral faces to connect them.
It’s not always straight forward as the surfaces may intersect in multiple places but it can be done.

Hi,
Could it possible to write a node that provides volumes using API (API?

thanks

1 Like

Thanks for your reply, but I’m getting a “empty list” error

@jduran did you extract the solids from the corridor in Civil 3D before running Dynamo?

I didn’t, That’s the issue :slight_smile: