# Forcing the Extent Translator to a non-default value

**URL:** https://discourse.paraview.org/t/forcing-the-extent-translator-to-a-non-default-value/3552
**Category:** Development
**Created:** [February 12, 2020, 11:40am UTC](https://discourse.paraview.org/t/forcing-the-extent-translator-to-a-non-default-value/3552 "2020-02-12T11:40:53Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![jfavre](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/j/b5ac83/32.png) [@jfavre](https://discourse.paraview.org/u/jfavre)
#### Post date: [February 12, 2020, 11:40am UTC](https://discourse.paraview.org/t/forcing-the-extent-translator-to-a-non-default-value/3552/1 "2020-02-12T11:40:53Z")

</div>

Hello All

in order to do much faster I/O with some custom data, I’d like to override the default BLOCK\_MODE of my pipeline to force the Z\_SLAB\_MODE all-the time. In my Python Programmable Source prototype, I set

`outInfo.Set(vtk.vtkExtentTranslator.UPDATE_SPLIT_MODE(), vtk.vtkExtentTranslator.Z_SLAB_MODE)`

and all goes well…unless I use a filter requesting ghost cells and then my data ends up missing a lot of cells.

I have made a single test (attached) to debug this and can’t get further clue. A pipeline expert might tell me what is missing and why any value in [XYZ]\_SLAB\_MODE result in missing data.

TIA  
[pvTestExtentTranslator.py](https://discourse.paraview.org/uploads/short-url/wcjzL1Na6yZBWJggTZAanRFX4Bc.py) (2.8 KB)
