MultiBlock.is_empty#
- property MultiBlock.is_empty: bool[source]#
Return
Trueif there are no blocks.Added in version 0.45.
Examples#
Download Python source code | Download Jupyter notebook
>>> import pyvista as pv
>>> mesh = pv.MultiBlock()
>>> mesh.is_empty
True
>>> mesh.append(pv.Sphere())
>>> mesh.is_empty
False