[Paraview] How to stop a paraview python script on error (try-catch-ing) ?

houssen houssen at ipgp.fr
Sat Jan 2 10:12:49 EST 2016


Hello,

How to stop a paraview python script on error (try-catch-ing) ?

I have a filter (which calls vtkErrorMacro when an error occurs). I 
have a python script that uses this filter from paraview: how to stop 
this script when an error occurs ? I tried to add "try/except" in core 
part of the script but it does not work as expected (keep running, don't 
stop).

Happy new year !

Franck


More information about the ParaView mailing list