Camera.to_paraview_pvcc#
- Camera.to_paraview_pvcc(filename: str | Path)[source]#
Write the camera parameters to a Paraview camera file (.pvcc extension).
- Parameters:
- filename
strorpathlib.Path Path to Paraview camera file (.pvcc).
- filename
Examples#
Download Python source code | Download Jupyter notebook
>>> import pyvista as pv
>>> pl = pv.Plotter()
>>> pl.camera.to_paraview_pvcc('camera.pvcc')