pyvista.set_vtkwriter_mode# set_vtkwriter_mode( vtk_writer: _VTKWriterType, use_binary: bool = True, ) → _VTKWriterType[source]# Set any vtk writer to write as binary or ascii. Parameters: vtk_writervtkDataWriter | vtkPLYWriter | vtkSTLWriter | _vtk.vtkXMLWriterThe vtk writer instance to be configured. use_binarybool, default: TrueIf True, the writer is set to write files in binary format. If False, the writer is set to write files in ASCII format. Returns: vtkDataWriter | vtkPLYWriter | vtkSTLWriter | _vtk.vtkXMLWriterThe configured vtk writer instance.