API Reference
Get all the block names in the dataset.
list
List of block names.
Examples
>>> import pyvista as pv >>> data = {"cube": pv.Cube(), "sphere": pv.Sphere(center=(2, 2, 0))} >>> blocks = pv.MultiBlock(data) >>> blocks.keys() ['cube', 'sphere']