pyvista.Plotter.picked_cell#
- property Plotter.picked_cell: 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.Deprecated since version 0.47: Use the
picked_cellsattribute instead.- Returns:
None|pyvista.UnstructuredGrid|pyvista.MultiBlockPicked object if available.