pyvista.BaseReader.path#

property BaseReader.path: str[source]#

Return or set the filename or directory of the reader.

Examples

>>> import pyvista as pv
>>> from pyvista import examples
>>> filename = examples.download_human(load=False)
>>> reader = pv.XMLPolyDataReader(filename)
>>> reader.path  
'/home/user/.local/share/pyvista/examples/Human.vtp'