detail.extract_selection Module

This module is used by vtkPythonExtractSelection to extract query-based selections. It relies on paraview.detail.calculator to compute a mask array from the query expression. Once the mask array is obtained, this filter will either extract the selected ids, or mark those elements as requested.

paraview.detail.extract_selection.execute(self)[source]
paraview.detail.extract_selection.maskarray_is_valid(maskArray)[source]

Validates that the maskArray is either a VTKArray or a VTKCompositeDataArrays or a NoneArray other returns false.