volume

property MultiBlock.volume: float

Return the total volume of all meshes in this dataset.

Returns
float

Total volume of the mesh.

Examples

>>> import pyvista as pv
>>> data = [pv.Sphere(center=(2, 0, 0)), pv.Cube(center=(0, 2, 0)), pv.Cone()]
>>> blocks = pv.MultiBlock(data)
>>> blocks.volume
1.7348