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

Function ExtendFileSeries

Wrapping/Python/paraview/simple/io.py:233–244  ·  view source on GitHub ↗

For a reader proxy that supports reading files series, detect any new files added to the series and update the reader's filename property. :param proxy: Reader proxy that should check for a extended file series. Optional, defaults to extending file series in the active source. :

(proxy=None)

Source from the content-addressed store, hash-verified

231
232
233def ExtendFileSeries(proxy=None):
234 """For a reader proxy that supports reading files series, detect any new files
235 added to the series and update the reader's filename property.
236
237 :param proxy: Reader proxy that should check for a extended file series. Optional,
238 defaults to extending file series in the active source.
239 :return: `True` if the operation succeeded, `False` otherwise
240 :rtype: bool"""
241 if not proxy:
242 proxy = GetActiveSource()
243 helper = servermanager.vtkSMReaderReloadHelper()
244 return helper.ExtendFileSeries(proxy.SMProxy)
245
246
247# -----------------------------------------------------------------------------

Callers 1

ReaderReload.pyFile · 0.85

Calls 2

GetActiveSourceFunction · 0.90
ExtendFileSeriesMethod · 0.80

Tested by

no test coverage detected