# Update time step of a filter having multiple inputs on one of its ports

**URL:** https://discourse.vtk.org/t/update-time-step-of-a-filter-having-multiple-inputs-on-one-of-its-ports/615
**Category:** Support
**Created:** [March 27, 2019, 11:58am UTC](https://discourse.vtk.org/t/update-time-step-of-a-filter-having-multiple-inputs-on-one-of-its-ports/615 "2019-03-27T11:58:59Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![embeddedmz](https://discourse.vtk.org/user_avatar/discourse.vtk.org/embeddedmz/32/12_2.png) [@embeddedmz](https://discourse.vtk.org/u/embeddedmz)
#### Post date: [March 27, 2019, 11:58am UTC](https://discourse.vtk.org/t/update-time-step-of-a-filter-having-multiple-inputs-on-one-of-its-ports/615/1 "2019-03-27T11:58:59Z")

</div>

Hello,

Is there someone who can tell me why UPDATE\_TIME\_STEP of a port connection of a filter is not an epoch anymore when this last has a repeatable input (info-\>Set(vtkAlgorithm::INPUT\_IS\_REPEATABLE(), 1); ) but rather an incremental real in all connections ?

In request data :  
vtkInformation\* inInfoSecondPort0Input = inputVector[0]-\>GetInformationObject(1);  
if (inInfoSecondPort0Input)  
{  
vtkDataObject\* pNewData = vtkDataObject::SafeDownCast(inInfoSecondPort0Input-\>Get(  
vtkDataObject::DATA\_OBJECT()));

double r2time = inInfoSecondPort0Input\>Get(  
vtkStreamingDemandDrivenPipeline::UPDATE\_TIME\_STEP()); // not an epoch but an incremental real 1, 1.5, 2, 3, 4, 4.5  
}

Thanks.
