pyvista.PolyData.n_lines#

property PolyData.n_lines: int[source]#

Return the number of lines.

Examples

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