<div dir="ltr">Hi FH,<div><br></div><div>Do you want to save the entire ParaView state so that you can reload it later? If so, you can use File -> Save State.../Load State...</div><div><br></div><div>I suspect that is not what you want, though.</div><div><br></div><div>Cory</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jul 10, 2015 at 9:55 AM, houssen <span dir="ltr"><<a href="mailto:houssen@ipgp.fr" target="_blank">houssen@ipgp.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I have a plugin (writer which inherit from vtkWriter) with :<br>
- SetNumberOfInputPorts(1) in the constructor<br>
- vtkDataObject* data=GetInput() to get data to save (when I am called back on the save button click)<br>
This works OK.<br>
<br>
How to save "all what is in the pipeline browser" ? Say I opened 2 files : I have 2 sets of data to save in the pipeline browser. How to save the 2 data set ?<br>
I tried :<br>
- SetNumberOfInputPorts(GetNumberOfInputPorts()) in the constructor<br>
- for (int p = 0; p < GetNumberOfInputPorts() ...) vtkDataObject* data=GetInput(p) to get data to save<br>
But this doesn't work : seems I always get one data to save (whatever what is hidden/shown or highlighted in the pipeline browser when I click on the save button)<br>
<br>
FH<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>
Search the list archives at: <a href="http://markmail.org/search/?q=Paraview-developers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=Paraview-developers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview-developers" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/paraview-developers</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Cory Quammen<br>R&D Engineer<br>Kitware, Inc.</div>
</div>