append

MultiBlock.append(dataset: pyvista.core.dataset.DataSet)

Add a data set to the next block index.

Parameters
datasetpyvista.DataSet

Dataset to append to this multi-block.

Examples

>>> import pyvista as pv
>>> data = {"cube": pv.Cube(), "sphere": pv.Sphere(center=(2, 2, 0))}
>>> blocks = pv.MultiBlock(data)
>>> blocks.append(pv.Cone())
>>> len(blocks)
3