# Problem with Connected Surface Properties

**URL:** https://discourse.paraview.org/t/problem-with-connected-surface-properties/16688
**Category:** ParaView Support
**Created:** [May 21, 2025, 3:41pm UTC](https://discourse.paraview.org/t/problem-with-connected-surface-properties/16688 "2025-05-21T15:41:52Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![woodscn](https://discourse.paraview.org/user_avatar/discourse.paraview.org/woodscn/32/3226_2.png) [@woodscn](https://discourse.paraview.org/u/woodscn)
#### Post date: [May 21, 2025, 3:41pm UTC](https://discourse.paraview.org/t/problem-with-connected-surface-properties/16688/1 "2025-05-21T15:41:52Z")

</div>

I have used a Contour filter to create some bubbles in my dataset. When I try to run Connected Surface Properties to figure out the centroid/volume of these bubbles, it leaves a bunch of the following errors:

```auto
ERROR: In vtkMultiObjectMassProperties.cxx, line 300
vtkMultiObjectMassProperties (0x6ca9e160): No data!

```

Any ideas what I might be doing wrong here?

---

<div class="post-metadata">

### Author: ![woodscn](https://discourse.paraview.org/user_avatar/discourse.paraview.org/woodscn/32/3226_2.png) [@woodscn](https://discourse.paraview.org/u/woodscn)
#### Post date: [May 21, 2025, 3:52pm UTC](https://discourse.paraview.org/t/problem-with-connected-surface-properties/16688/2 "2025-05-21T15:52:33Z")

</div>

The code in VTK lists the error condition as:

```auto
if (input->GetPolys()->GetNumberOfCells() < 1 || input->GetNumberOfPoints()<1)

```

I noticed that my input data was a Partitioned Data Collection, rather than a bare PolyData. I ran a Merge Blocks and I’m exploring whether this resolved the issue.

Update: I believe this was the problem. The filter is just not compatible with partitioned data collections.

---

<div class="post-metadata">

### Author: ![woodscn](https://discourse.paraview.org/user_avatar/discourse.paraview.org/woodscn/32/3226_2.png) [@woodscn](https://discourse.paraview.org/u/woodscn)
#### Post date: [May 21, 2025, 4:04pm UTC](https://discourse.paraview.org/t/problem-with-connected-surface-properties/16688/3 "2025-05-21T16:04:34Z")

</div>

Perhaps I’m misunderstanding what this filter is supposed to be doing? I would have expected all the connected objects to have the same volume. This is what I get, instead:

 ![image](https://discourse.paraview.org/uploads/default/original/3X/4/9/49da42d8c14ef2020dd90dd48148425255e60366.jpeg)  
ObjectIds seems to be getting it right. Am I supposed to manually sum on the different Objects? I’m also not sure where the negative volumes are coming from.  
 ![image](https://discourse.paraview.org/uploads/default/original/3X/8/e/8e16577f75096e63b8ebc287126f804931e16f81.jpeg)

---

<div class="post-metadata">

### Author: ![woodscn](https://discourse.paraview.org/user_avatar/discourse.paraview.org/woodscn/32/3226_2.png) [@woodscn](https://discourse.paraview.org/u/woodscn)
#### Post date: [May 21, 2025, 4:05pm UTC](https://discourse.paraview.org/t/problem-with-connected-surface-properties/16688/4 "2025-05-21T16:05:32Z")

</div>

Related: [Estimating volume of separated surfaces, plotting histogram - ParaView Support - ParaView](https://discourse.paraview.org/t/estimating-volume-of-separated-surfaces-plotting-histogram/12005/6)
