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)
| 231 | |
| 232 | |
| 233 | def 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 | # ----------------------------------------------------------------------------- |
no test coverage detected