# Augmenting vtkPolyData with multiple different tuples of point/cell data

**URL:** https://discourse.vtk.org/t/augmenting-vtkpolydata-with-multiple-different-tuples-of-point-cell-data/10732
**Category:** Support
**Created:** [February 20, 2023, 5:15pm UTC](https://discourse.vtk.org/t/augmenting-vtkpolydata-with-multiple-different-tuples-of-point-cell-data/10732 "2023-02-20T17:15:14Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![sboogert](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/s/59ef9b/32.png) [@sboogert](https://discourse.vtk.org/u/sboogert)
#### Post date: [February 20, 2023, 5:15pm UTC](https://discourse.vtk.org/t/augmenting-vtkpolydata-with-multiple-different-tuples-of-point-cell-data/10732/1 "2023-02-20T17:15:14Z")

</div>

I have a problem that reuses a significant amount of geometry in the form of vtkPolyData. I would like like to be able to modify the vtkPolydata with different vtkDoubleArrays for the point/cell data.

So is there a filter/polydata algorithm that augments the same geometrical data with potentially different point/cell data.

Best,  
Stewart

---

<div class="post-metadata">

### Author: ![lassoan](https://discourse.vtk.org/user_avatar/discourse.vtk.org/lassoan/32/50_2.png) [@lassoan](https://discourse.vtk.org/u/lassoan)
#### Post date: [February 21, 2023, 2:01am UTC](https://discourse.vtk.org/t/augmenting-vtkpolydata-with-multiple-different-tuples-of-point-cell-data/10732/2 "2023-02-21T02:01:18Z")

</div>

You can add any number of arrays to point and cell data. You don’t need any filter for it, but you can use methods of the polydata object (`polydata.GetPointData().AddArray(...)`).

---

<div class="post-metadata">

### Author: ![sboogert](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/s/59ef9b/32.png) [@sboogert](https://discourse.vtk.org/u/sboogert)
#### Post date: [February 21, 2023, 8:49am UTC](https://discourse.vtk.org/t/augmenting-vtkpolydata-with-multiple-different-tuples-of-point-cell-data/10732/3 "2023-02-21T08:49:29Z")

</div>

Ahh ok, of course. I can add as much data as I want to a vtkPolyData object. Sorry my mind is so used to adding simple scalars,vectors or tensors.

Thanks very much.
