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:
- filename
str
orpathlib.Path
Path to Paraview camera file (.pvcc).
- filename
Examples
>>> import pyvista as pv >>> pl = pv.Plotter() >>> pl.camera.to_paraview_pvcc('camera.pvcc')