# CxxNonOverlappingAMRExample: What is the writer for PlotOverLine filter

**URL:** https://discourse.paraview.org/t/cxxnonoverlappingamrexample-what-is-the-writer-for-plotoverline-filter/1982
**Category:** In Situ Support
**Created:** [June 3, 2019, 6:43pm UTC](https://discourse.paraview.org/t/cxxnonoverlappingamrexample-what-is-the-writer-for-plotoverline-filter/1982 "2019-06-03T18:43:02Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![tesari](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/t/e99b99/32.png) [@tesari](https://discourse.paraview.org/u/tesari)
#### Post date: [June 3, 2019, 6:43pm UTC](https://discourse.paraview.org/t/cxxnonoverlappingamrexample-what-is-the-writer-for-plotoverline-filter/1982/1 "2019-06-03T18:43:02Z")

</div>

Hi,

Using Examples/Catalyst/CxxNonOverlappingAMRExample as prototype, I want to replace Slice with PlotOverLine:

```
  p = PlotOverLine(Source='High Resolution Line Source')
  p.Source.Point1 = [-10.0, -10.0, -10.0]
  p.Source.Point2 = [10.0, 10.0, 10.0]
  # create a new 'Parallel MultiBlock Writer'

```

What writer should I use? XMLMultiBlockDataWriter does not work:

( 0.869s) [pvbatch]vtkDemandDrivenPipeline:813 ERR| vtkPVCompositeDataPipeline (0x3ca2b90): Input for connection index 0 on input port index 0 for algorithm vtkXMLPMultiBlockDataWriter(0x3ca0970) is of type vtkPolyData, but a vtkMultiBlockDataSet is required.

Also, I would like to save a png image, and data as csv. What are the correct writers for this?

Thanks,  
Ted
