# Examples from pyvista.PVDReader
# ===============================

import pyvista as pv
from pyvista import examples
from pathlib import Path
filename = examples.download_wavy(load=False)
Path(filename).name
reader = pv.get_reader(filename)
reader.time_values
reader.set_active_time_point(5)
reader.active_time_value
mesh = reader.read()[0]  # MultiBlock mesh with only 1 block
mesh.plot(scalars='z')

# ----------------------------------------------------------------------
# Generated by sphinx-examples-as-code https://github.com/pyvista/sphinx-examples-as-code

