# \[solved\] alternative to vtkBitArray

**URL:** https://discourse.paraview.org/t/solved-alternative-to-vtkbitarray/3794
**Category:** Development
**Tags:** vtk, python
**Created:** [March 12, 2020, 9:42am UTC](https://discourse.paraview.org/t/solved-alternative-to-vtkbitarray/3794 "2020-03-12T09:42:34Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![yohanlty\_total](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/y/ecd19e/32.png) [@yohanlty\_total](https://discourse.paraview.org/u/yohanlty_total)
#### Post date: [March 12, 2020, 9:42am UTC](https://discourse.paraview.org/t/solved-alternative-to-vtkbitarray/3794/1 "2020-03-12T09:42:34Z")

</div>

Dear experts,

I am writting a plugin and I want to put inside a **vtkUnstructuredGrid** a boolean array.  
I have chosen the **vtkBitArray** to store this boolean array and I works as expected with the default _Render View_ Layout.

Unfortunately when I add the _SpreadSheet View_ I get the following error:

> ( 918.663s) [paraview]vtkSortedTableStreamer.:1584 ERR| vtkSortedTableStreamer (0x3f71d80): Array type not supported: vtkBitArray

I have been lazy and I did not check if my minimal compilation of ParaView 5.7.0 was correct (I do not have numpy in my python3 installation for example).

Do you think that it should work if I enriched my compilation or is it a missing feature ?  
If it is a missing feature, what datatype would you recommend ?

Regards,

A wannabee developer

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [March 12, 2020, 9:44am UTC](https://discourse.paraview.org/t/solved-alternative-to-vtkbitarray/3794/2 "2020-03-12T09:44:06Z")

</div>

Missing Feature, vtkCharArray should do the trick.

---

<div class="post-metadata">

### Author: ![yohanlty\_total](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/y/ecd19e/32.png) [@yohanlty\_total](https://discourse.paraview.org/u/yohanlty_total)
#### Post date: [March 12, 2020, 9:45am UTC](https://discourse.paraview.org/t/solved-alternative-to-vtkbitarray/3794/3 "2020-03-12T09:45:35Z")

</div>

Thank you Mathieu !
