Polyline3D.create Method

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

Description

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

Syntax

This is a static method.

returnValue = adsk.core.Polyline3D.create(points)
This is a static method.

#include <Core/Geometry/Polyline3D.h>

returnValue = adsk::core::Polyline3D::create(points);

Return Value

Type Description
Polyline3D Returns the created Polyline3D object or null if the creation failed.

Parameters

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

Version

Introduced in version September 2024