Polyline2D.pointCount Property

Parent Object: Polyline2D
Defined in namespace "adsk::core" and the header file is <Core/Geometry/Polyline2D.h>

Description

Returns the number of points defining the polyline.

Syntax

"polyline2D_var" is a variable referencing a Polyline2D object.

# Get the value of the property.
propertyValue = polyline2D_var.pointCount
"polyline2D_var" is a variable referencing a Polyline2D object.
#include <Core/Geometry/Polyline2D.h>

// Get the value of the property.
integer propertyValue = polyline2D_var->pointCount();

Property Value

This is a read only property whose value is an integer.

Version

Introduced in version September 2024