# CleanToGrid equivalent in vtk

**URL:** https://discourse.paraview.org/t/cleantogrid-equivalent-in-vtk/17736
**Category:** ParaView Support
**Tags:** python, vtk
**Created:** [September 21, 2026, 7:09pm UTC](https://discourse.paraview.org/t/cleantogrid-equivalent-in-vtk/17736 "2026-09-21T19:09:41Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![MiguelAngelAGUIRRE](https://discourse.paraview.org/user_avatar/discourse.paraview.org/miguelangelaguirre/32/2986_2.png) [@MiguelAngelAGUIRRE](https://discourse.paraview.org/u/MiguelAngelAGUIRRE)
#### Post date: [September 21, 2026, 7:09pm UTC](https://discourse.paraview.org/t/cleantogrid-equivalent-in-vtk/17736/1 "2026-09-21T19:09:41Z")

</div>

Hello,

I’m making a **Python Programmable filter** with several vtk operations concatenated. One of this operations requires applying **CleanToGrid** to a vtk object (It can be either vtkMultiBlockDataSet or vtkUnstructuredGrid). So, **what is the vtk-equivalent for this operation?**

Thanks

Miguel

---

<div class="post-metadata">

### Author: ![Lucas\_Givord](https://discourse.paraview.org/user_avatar/discourse.paraview.org/lucas_givord/32/6851_2.png) [@Lucas\_Givord](https://discourse.paraview.org/u/Lucas_Givord)
#### Post date: [September 22, 2026, 7:11am UTC](https://discourse.paraview.org/t/cleantogrid-equivalent-in-vtk/17736/2 "2026-09-22T07:11:53Z")

</div>

Hello,

`vtkCleanUnstructuredGrid` is what you want. `Clean To Grid` is just a label added in ParaView around this filter.
