cell_array

cell_array(obj, name)

Return cell array of a pyvista or vtk object.

Parameters
objpyvista.DataSet or vtk.vtkDataSet

PyVista or VTK dataset.

namestr

Name of the array.

Returns
numpy.ndarray

Wrapped array.