# Problem Clipping Unstructured Grid with Quadratic Quad Element

**URL:** https://discourse.vtk.org/t/problem-clipping-unstructured-grid-with-quadratic-quad-element/2790
**Category:** Support
**Created:** [March 10, 2020, 12:54pm UTC](https://discourse.vtk.org/t/problem-clipping-unstructured-grid-with-quadratic-quad-element/2790 "2020-03-10T12:54:40Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![alx](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/a/59ef9b/32.png) [@alx](https://discourse.vtk.org/u/alx)
#### Post date: [March 10, 2020, 12:54pm UTC](https://discourse.vtk.org/t/problem-clipping-unstructured-grid-with-quadratic-quad-element/2790/1 "2020-03-10T12:54:41Z")

</div>

![vtkerror](https://discourse.vtk.org/uploads/default/original/2X/3/32b1d69b9d5308a803d1d75fad3a055efd8fa6da.png)

I am having trouble to correctly clip an unstructured grid with vtkClipDataSet. For cells of type VTK\_QUADRATIC\_TRIANGLE the cell data seems to be clipped correctly but for VTK\_QUADRATIC\_QUAD cells the clipping messes up the cell data as seen in the image.  
Any advice how to fix this?

I am currently using VTK 8.1.1 with Python.
