# Adding New Points in Programmable Filter

**URL:** https://discourse.paraview.org/t/adding-new-points-in-programmable-filter/9383
**Category:** ParaView Support
**Tags:** python
**Created:** [April 6, 2022, 8:17pm UTC](https://discourse.paraview.org/t/adding-new-points-in-programmable-filter/9383 "2022-04-06T20:17:43Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![patchett2002](https://discourse.paraview.org/user_avatar/discourse.paraview.org/patchett2002/32/235_2.png) [@patchett2002](https://discourse.paraview.org/u/patchett2002)
#### Post date: [April 7, 2022, 9:02pm UTC](https://discourse.paraview.org/t/adding-new-points-in-programmable-filter/9383/3 "2022-04-07T21:02:39Z")

</div>

Thank you for your response. I’m having trouble finding apropos examples of RequestInformation and RequestUpdateExtent so I’m trying to figure it out. I have two follow up questions.

1. RequestUpdateExtent seems to exist to communicate up the pipeline, to the parent, that this filter needs a different extent provided or a different time step. I don’t want to get different extents from the parent and the filter will be incapable of dynamically changing subextents as output as well. Is RequestUpdateExtent still required?
2. I started looking at RequestInformation and tried to explicitly set the whole\_extent:

```auto
# Code for 'RequestInformation Script'.
executive = self.GetExecutive()
outInfo = executive.GetOutputInformation(0)
outInfo.Set(executive.WHOLE_EXTENT(), 0, 1025, 0, 512, 0, 0)

```

This actually produces the correct grid as viewed in the render window. but does throw an error:

```auto
ERROR: In /opt/glr/paraview/paraview-ci/build/superbuild/paraview/src/VTK/Common/ExecutionModel/vtkStreamingDemandDrivenPipeline.cxx, line 878

vtkPVPostFilterExecutive (0x6000018e3640): The update extent specified in the information for output port 0 on algorithm vtkPVPostFilter(0x6000012683f0) is 0 1025 0 512 0 0, which is outside the whole extent 0 1024 0 512 0 0.

```

Which references the whole extent from the upstream filter, which might be an issue with not having a RequestUpdateExtent? I tried setting UPDATE\_EXTENT and WHOLE\_EXTENT in the  
RequestInformation and/or RequestUpdateExtent without success. In the meantime I found Berk’s VTK Pipeline Primer from 2014 which I’ll peruse to try and understand better…

---

_[View the full topic](https://discourse.paraview.org/t/adding-new-points-in-programmable-filter/9383)._
