SegmentMesher in Slicer 5.2 and 5.3 fail: Error: 'vtkmodules.vtkFiltersCore.vtkThreshold' object has no attribute 'ThresholdByUpper'

Operating system: Windows 11
Slicer version: 5.3
Expected behavior: complete successfully
Actual behavior: fails

I’m trying to create a volume mesh using segmentMesher and it keeps failing:

Generating volumetric mesh…

Error: ‘vtkmodules.vtkFiltersCore.vtkThreshold’ object has no attribute ‘ThresholdByUpper’

Is there something I’m missing out?

Thanks!

Mathieu

This is due to an incorrect API change in VTK (they removed a very widely used method). The fix should be really simple. I’ll try to get to it within a few days.

Thanks Andras, let me know when it is ready, I’ll give it a try! The goal is to import the geometry in COMSOL software for CFD modelling.

Thanks again!

Mat

Hello Iassoan, I was wondering if you had the chance to look at my issue? Your sure are a busy man with all the requests from users :wink:

Thanks!

Mathieu