pyvista.cell_array#
- cell_array(obj, name)[source]#
Return cell array of a pyvista or vtk object.
- Parameters:
- obj
pyvista.DataSet
orvtk.vtkDataSet
PyVista or VTK dataset.
- name
str
|int
Name or index of the array.
- obj
- Returns:
pyvista.pyvista_ndarray
orNone
Wrapped array if the index or name is valid. Otherwise,
None
.