Polyline2D.curveType Property

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

Description

Returns the type of geometry this curve represents.

Syntax

"polyline2D_var" is a variable referencing a Polyline2D object.

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

// Get the value of the property.
Curve2DTypes propertyValue = polyline2D_var->curveType();

Property Value

This is a read only property whose value is a Curve2DTypes.

Version

Introduced in version September 2024