Share

Polyline2D.create Method

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

Description

Creates a transient 2D polyline using an array of Point2D objects that defines the position of the polyline vertices.

Syntax

This is a static method.

returnValue = adsk.core.Polyline2D.create(points)

Return Value

Type Description
Polyline2D Returns the created Polyline2D object.

Parameters

Name Type Description
points Point2D[] An array of Point2D objects that define the coordinates of the curve.

Version

Introduced in version September 2024

Was this information helpful?