<div dir="ltr"><div><div><div><div>Hi Matthieu,<br><br></div>I think the best way to do that would be to use vtkCPDataDescription's Set/GetUserData() methods. The reason we use a vtkFieldData object for that is two-fold. The first is that it's Python wrapped so you can set it or get in your C++ code (i.e. the adaptor) as well as set it or get it on the Python script pipeline. The second is that it aggregates vtkAbstractArrays so you can pass in all native data types between the adaptor and the Python script pipelines.<br><br></div>Once the C/C++ adaptor passes in this information you'll need to hand edit the Python script to take that information in. In case you haven't gotten into the details of the Catalyst Python scripts, <a href="http://www.kitware.com/source/home/post/170">http://www.kitware.com/source/home/post/170</a> has some information on that. If that article isn't clear, let us know and we can walk you through the details with a bit more guidance.<br><br></div>Best,<br></div>Andy<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 5, 2015 at 11:04 AM, Dorier, Matthieu <span dir="ltr"><<a href="mailto:mdorier@anl.gov" target="_blank">mdorier@anl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div>
<div style="direction:ltr;font-family:Tahoma;color:#333399;font-size:10pt">Hi,<br>
<br>
I have a Catalyst pipeline generating image_*.png files.<br>
How can I make the simulation (in C) pass a different file name to the Catalyst script? My simulation should call the same script several time per iteration so I would like to output files to be named "image_*_*.png" with the first * being the iteration number
 and the second * being the inner loop's index.<br>
<br>
Thanks<span class="HOEnZb"><font color="#888888"><br>
<br>
Matthieu<br>
</font></span></div>
</div>

<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" rel="noreferrer" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" rel="noreferrer" target="_blank">http://markmail.org/search/?q=ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/paraview</a><br>
<br></blockquote></div><br></div>