export-scene-macro on Mac

Hi, I’m trying to run the export-scene-macro macro on ParaView on a Mac (Mojave) and I get the following error:

Traceback (most recent call last):
File “”, line 31, in
ImportError: No module named vtkFiltersGeometryPython

Any thoughts on the best way to address this?


This macro as been replaced by an integrated export to vtkjs inside the UI of ParaView proper 5.6+

Otherwise, this can be solved by importing vtkFiltersGeometry instead of vtkFiltersGeometryPython. Although, there might be more import to fix with later ParaView 5.7 and 5.8.

Thanks for the quick reply! I can export a vtkjs file with the UI but when I load that file into SceneExplorer, there are problems with the coloring. I’ve tried to attach a screen shot below:

The switch from vtkFiltersGeometryPython to vtkFiltersGeometry in the macro seems to have done the trick for me, thanks!

You can use ParaViewGlance to look at it.

The reason is that the SceneExplorer does not know how to decode the lookup table as with the export we keep the actual fields rather than converting the rgba color like it is done in the macro.