extract_selection Module

This module is used by vtkPythonExtractSelection to extract query-based selections. It relies on the python-calculator (vtkPythonCalculator), specifically, the Python code used by that class, 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.extract_selection.execute(self)[source]
paraview.extract_selection.maskarray_is_valid(maskArray)[source]

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