pyvista.PolyData.n_lines#

property PolyData.n_lines: int[source]#

Return the number of lines.

Examples

>>> import pyvista as pv
>>> mesh = pv.Line()
>>> mesh.n_lines
1