pyvista.Camera.to_paraview_pvcc

pyvista.Camera.to_paraview_pvcc#

Camera.to_paraview_pvcc(filename: str | Path)[source]#

Write the camera parameters to a Paraview camera file (.pvcc extension).

Parameters:
filenamestr or pathlib.Path

Path to Paraview camera file (.pvcc).

Examples

>>> import pyvista as pv
>>> pl = pv.Plotter()
>>> pl.camera.to_paraview_pvcc("camera.pvcc")