<div dir="ltr"><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jan 30, 2019 at 12:58 AM Lodron, Gerald <<a href="mailto:Gerald.Lodron@joanneum.at">Gerald.Lodron@joanneum.at</a>> wrote:</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div lang="DE"><div class="gmail-m_-2498168837427078074WordSection1">
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><span lang="EN-GB">I made a vtk source with 5 outputs and time data. I am getting the requested time from output 0. I included the source into paraview. The problem is that the request Data function gets called 5 times (because of 5 outputs).
Is there a way to get the output port index of the requested data function call?</span></p></div></div></blockquote><div><br></div><div>int outputPort = request->Get(vtkDemandDrivenPipeline::FROM_OUTPUT_PORT());</div><div><br></div><div>if outputPort has the special value -1, then all outputs should be generated.</div><div><br></div><div> David</div></div></div></div>