pyvista.Plotter.picked_cells#
- property Plotter.picked_cells: None | UnstructuredGrid | MultiBlock[source]#
Return the cell-picked object.
This returns the object containing cells that were interactively picked with
enable_cell_picking,enable_rectangle_through_pickingorenable_rectangle_visible_picking.Its value depends on the picking result:
if no cells have been picked, returns
Noneif all picked cells belong to a single actor, returns an
UnstructuredGridif picked cells belong to multiple actors, returns a
MultiBlockcontainingnpyvista.UnstructuredGrids, withnbeing the number of picked actors.
Note that a cell data
original_cell_idsis added to help identifying cell ids picked from the original dataset.- Returns:
None|pyvista.UnstructuredGrid|pyvista.MultiBlockPicked object if available.