pyvista.XdmfReader#
- class XdmfReader(*args, **kwargs)[source]#
XdmfReader for .xdmf files.
- Parameters:
- path
str
Path of the XDMF file to read.
- path
Notes
We currently can’t inspect the time values for this reader.
Examples
>>> import pyvista as pv >>> from pyvista import examples >>> filename = examples.download_meshio_xdmf(load=False) >>> reader = pv.get_reader(filename) >>> filename.split("/")[-1] # omit the path 'out.xdmf' >>> mesh = reader.read() >>> mesh.plot()
Methods
XdmfReader.set_active_time_value
(time_value)Attributes
Return the number of grids that can be read by the reader.