[Paraview] How to interrupt macros/Python script ?
Mathieu Westphal
mathieu.westphal at kitware.com
Fri Mar 30 04:36:13 EDT 2018
Hello Miguel,
The simplest way to do that, especially when debugging, is to raise an
error.
raise ValueError()
Best regards,
Mathieu Westphal
On Fri, Mar 30, 2018 at 8:52 AM, Miguel Aguirre <aguirre.utn at gmail.com>
wrote:
> Hello,
>
>
>
> I’m testing some macros and Python Shell scripts. One of them requires an
> iteration: it places the slice plane at several positions in order to
> integrate values at each position. However, I found that once the
> macro/script is executed, it is impossible to stop it (which annoys the
> debugging process). I already tested "exit()" command in the Python Shell
> but it does not works. There is way to interrupt the process?
>
>
>
> Thanks in advance.
>
> Miguel Angel AGUIRRE
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/
> opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Search the list archives at: http://markmail.org/search/?q=ParaView
>
> Follow this link to subscribe/unsubscribe:
> https://public.kitware.com/mailman/listinfo/paraview
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://public.kitware.com/pipermail/paraview/attachments/20180330/ead17305/attachment.html>
More information about the ParaView
mailing list