get

MultiBlock.get(index: Union[int, str]) Optional[pyvista.core.composite.MultiBlock]

Get a block by its index or name.

If the name is non-unique then returns the first occurrence.

Parameters
indexint or str

Index or name of the dataset within the multiblock.

Returns
pyvista.DataSet

Dataset from the given index.