n_lines

property PolyData.n_lines

Return the number of lines.

Examples

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