n_lines#

property PolyData.n_lines: int#

Return the number of lines.

Examples

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