# Examples from pyvista.UnstructuredGrid.offset
# =============================================

# Return the cell offset array.  Since this mesh is composed of
# all hexahedral cells, note how each cell starts at 8 greater
# than the prior cell.
import pyvista as pv
from pyvista import examples
hex_beam = pv.read(examples.hexbeamfile)
hex_beam.offset

# ----------------------------------------------------------------------
# Generated by sphinx-examples-as-code https://github.com/pyvista/sphinx-examples-as-code

