pyvista.PVDReader#
- class PVDReader(*args, **kwargs)[source]#
PVD Reader for .pvd files.
Examples
>>> import pyvista as pv >>> from pyvista import examples >>> from pathlib import Path >>> filename = examples.download_wavy(load=False) >>> Path(filename).name 'wavy.pvd' >>> reader = pv.get_reader(filename) >>> reader.time_values [0.0, 1.0, 2.0, 3.0, ... 12.0, 13.0, 14.0] >>> reader.set_active_time_point(5) >>> reader.active_time_value 5.0 >>> mesh = reader.read()[0] # MultiBlock mesh with only 1 block >>> mesh.plot(scalars='z')
Methods#
|
Set active time or iteration by index. |
|
Set active time or iteration value. |
|
Value of time point or iteration by index. |
Attributes#
Return all active datasets. |
|
Return the active readers. |
|
Active time or iteration value. |
|
Return all datasets. |
|
Return number of time points or iterations available to read. |
|
All time or iteration values. |