<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi Marcus, <div class=""><br class=""></div><div class="">Thank you for your quick answer. I guess that writing parametric state files will do what I need, thanks for the suggestion! </div><div class=""><br class=""></div><div class="">— </div><div class="">Matt<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">Le 20 nov. 2018 à 17:25, Marcus D. Hanwell <<a href="mailto:marcus.hanwell@kitware.com" class="">marcus.hanwell@kitware.com</a>> a écrit :</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Hi Matt,<div class=""><br class=""></div><div class="">The scripting in Tomviz, and the pipeline in general, are quite different to ParaView. We do not have a Python trace functionality at present, and scripting is generally done in the operators but not for the application at the present time. You can see many examples of Python for data operations, and they can all be modified. You can save and restore state, and inspect the JSON.</div><div class=""><br class=""></div><div class="">I am hoping to add some of the scripting capabilities found in Python for building pipelines etc, but that infrastructure is not entirely general and so it requires some work to support the concepts developed for use in Tomviz pipelines.</div><div class=""><br class=""></div><div class="">Thanks,</div><div class=""><br class="">Marcus<br class=""><br class=""><div class="gmail_quote"><div dir="ltr" class="">On Tue, Nov 20, 2018 at 11:06 AM Matthieu Vitse <<a href="mailto:matthieu.vitse.sciviz@gmail.com" class="">matthieu.vitse.sciviz@gmail.com</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all, <br class="">
<br class="">
I’m trying to get my hands into the Python scripting in Tomviz, as I usually do with ParaView, but i’m having some troubles finding info about that. Do you have any samples of scripting for opening/closing datasets, doing basic operations so I can work from that?<br class="">
<br class="">
also, I really like the python recording (trace) feature in ParaView, is there any equivalent? <br class="">
<br class="">
Thank you! <br class="">
<br class="">
— <br class="">
Matt<br class="">
_______________________________________________<br class="">
Tomviz mailing list<br class="">
<a href="mailto:Tomviz@public.kitware.com" target="_blank" class="">Tomviz@public.kitware.com</a><br class="">
<a href="https://public.kitware.com/mailman/listinfo/tomviz" rel="noreferrer" target="_blank" class="">https://public.kitware.com/mailman/listinfo/tomviz</a><br class="">
</blockquote></div></div></div>
</div></blockquote></div><br class=""></div></body></html>