Dear community,
I am developing a filter on vtkUnstructuredGrid with Python. When using the vtkMeshQuality filter for example to determine the volume of “pyramids” cells with the functions vtkMeshQuality: :PyramidVolume (vtkCell *cell), I have this error :
AttributeError: ‘vtkmodules.vtkFiltersVerdict.vtkMeshQuality’ object has no attribute ‘PyramidVolume’
ERROR: In C:\glr\builds\paraview\paraview-ci\build\superbuild\paraview\src\VTK\Common\ExecutionModel\vtkExecutive.cxx, line 753
vtkPVCompositeDataPipeline (00000275D6F9D0C0): Algorithm vtkPythonAlgorithm(00000275FF8DF9C0) returned failure for request: vtkInformation (00000275F77C4C90)
@Dav unless you are using Paraview master these functions won’t be available. These were introduced in https://gitlab.kitware.com/vtk/vtk/-/merge_requests/8832 and they will part of Paraview 5.11 soon. If you want to have access to these functions you can clone Paraview master.
You can either follow this link to clone and compile paraview or download the nightly paraview version from Download | ParaView. The second option does not require any cloning or compiling