pyvista.point_array#

point_array(obj, name)[source]#

Return point array of a pyvista or vtk object.

Parameters:
objpyvista.DataSet | 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.