MCPcopy Create free account
hub / github.com/Kitware/ParaView / setTimeStep

Method setTimeStep

Web/Python/paraview/web/protocols.py:1376–1382  ·  view source on GitHub ↗
(self, timeIdx)

Source from the content-addressed store, hash-verified

1374
1375 @exportRpc("pv.time.index.set")
1376 def setTimeStep(self, timeIdx):
1377 anim = simple.GetAnimationScene()
1378 anim.TimeKeeper.Time = anim.TimeKeeper.TimestepValues[timeIdx]
1379
1380 self.getApplication().InvokeEvent("UpdateEvent")
1381
1382 return anim.TimeKeeper.Time
1383
1384 @exportRpc("pv.time.index.get")
1385 def getTimeStep(self):

Callers

nothing calls this directly

Calls 1

GetAnimationSceneMethod · 0.45

Tested by

no test coverage detected