<font face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size="2"> <span>Hi Yumin, Hi Cory, <br><br>Thanks for your help. Using the vtkSMPropertyHelper worked in the end for me.<br><br>Best regards, <br><br>Anton<br><br><br><br><br><br></span><br><br><font color="#990099">-----Yumin Yuan <yumin.yuan@kitware.com> wrote: -----</font><div class="iNotesHistory" style="padding-left:5px;"><div style="padding-right:0px;padding-left:5px;border-left:solid black 2px;">To: Cory Quammen <cory.quammen@kitware.com><br>From: Yumin Yuan <yumin.yuan@kitware.com><br>Date: 01/22/2015 03:27PM<br>Cc: Anton.Piccardo-Selg@tessella.com, ParaView Developers <paraview-developers@paraview.org><br>Subject: Re: [Paraview-developers] How to swap to sources in a pipeline?<br><br><div dir="ltr">Hi Anton,<div><br></div><div>Since you are asking on developers list, I assume you want to know how to do this in the code :)</div><div><br></div><div>vtkSMPropertyHelper(1stSMFilterProxy, "Input").Set(newSMSourceProxy);<br></div><div><br></div><div>HTH</div><div>Yumin</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 22, 2015 at 10:04 AM, Cory Quammen <span dir="ltr"><<a href="mailto:cory.quammen@kitware.com" target="_blank">cory.quammen@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Anton,<div><br></div><div>Right-click on the source whose input you would like to change and select the "Change Input..." menu item.</div><div><br></div><div>- Cory</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Thu, Jan 22, 2015 at 10:00 AM,  <span dir="ltr"><<a href="mailto:Anton.Piccardo-Selg@tessella.com" target="_blank">Anton.Piccardo-Selg@tessella.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><font face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif"> <span>Hi, <br><br>I have a linear pipeline which consists of a source and and several filters. For various reasons I need to change the source of this pipeline. <br><br>I was therefore wondering if there is a way to reset the input port of the first filter to the new source, or do I have to create all the filters again? I would like to just swap the sources in order to keep the filter settings.<br><br>Many thanks,<br><br>Anton<br><br></span><div><p><font size="1" face="arial">This message is commercial in confidence and may be privileged.  It is intended for the <br>addressee(s) only.  Access to this message by anyone else is unauthorized and strictly prohibited.  <br>If you have received this message in error, please inform the sender immediately.  Please note that <br>messages sent or received by the Tessella e-mail system may be monitored and stored in an <br>information retrieval system.</font></p><br><br></div></font> <br></div></div>_______________________________________________<br> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br> <br> Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" 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" 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" target="_blank">http://public.kitware.com/mailman/listinfo/paraview-developers</a><br> <br></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div>Cory Quammen<br>R&D Engineer<br>Kitware, Inc.</div> </font></span></div> <br>_______________________________________________<br> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br> <br> Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" 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" 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" target="_blank">http://public.kitware.com/mailman/listinfo/paraview-developers</a><br> <br></blockquote></div><br></div> </div></div><div><p><font size="1" face="arial">This message is commercial in confidence and may be privileged.  It is intended for the <br>addressee(s) only.  Access to this message by anyone else is unauthorized and strictly prohibited.  <br>If you have received this message in error, please inform the sender immediately.  Please note that <br>messages sent or received by the Tessella e-mail system may be monitored and stored in an <br>information retrieval system.</font></p><br><br></div></font>