pyvista.cell_array

Contents

pyvista.cell_array#

cell_array(obj, name)[source]#

Return cell array of a pyvista or vtk object.

Parameters:
objpyvista.DataSet or vtk.vtkDataSet

PyVista or VTK dataset.

namestr | int

Name or index of the array.

Returns:
pyvista.pyvista_ndarray or None

Wrapped array if the index or name is valid. Otherwise, None.