Polyline2D.asNurbsCurve Property

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

Description

Returns a NURBS curve that is geometrically identical to the polyline.

Syntax

"polyline2D_var" is a variable referencing a Polyline2D object.

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

// Get the value of the property.
Ptr<NurbsCurve2D> propertyValue = polyline2D_var->asNurbsCurve();

Property Value

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

Version

Introduced in version September 2024