# Write out a dataset through VTK algorithm used in the to generate python script

**URL:** https://discourse.paraview.org/t/write-out-a-dataset-through-vtk-algorithm-used-in-the-to-generate-python-script/1136
**Category:** ParaView Support
**Created:** [January 14, 2019, 3:16pm UTC](https://discourse.paraview.org/t/write-out-a-dataset-through-vtk-algorithm-used-in-the-to-generate-python-script/1136 "2019-01-14T15:16:38Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Liang\_Cui](https://discourse.paraview.org/user_avatar/discourse.paraview.org/liang_cui/32/447_2.png) [@Liang\_Cui](https://discourse.paraview.org/u/Liang_Cui)
#### Post date: [January 14, 2019, 3:16pm UTC](https://discourse.paraview.org/t/write-out-a-dataset-through-vtk-algorithm-used-in-the-to-generate-python-script/1136/1 "2019-01-14T15:16:38Z")

</div>

Hi everyone  
I am trying writer out a unstructured grid dataset with vtkXMLUnstructuredGridWriter, which can be imported into paraview GUI to generate python script for the paraview catalyst. I have generated the .vtu file but it seems does not work.  
Do I need to write out the .pvtu file for paraview catalyst and how should I use the vtkXMLUnstructuredGridWriter to achieve this goal?  
Thanks
