Polyline2D.createByArray Method
Parent Object:
Polyline2DDefined in namespace "adsk::core" and the header file is <Core/Geometry/Polyline2D.h>
Description
Creates a transient 2D polyline using an array of floating point values that specify the X, Y coordinates for each point.
Syntax
This is a static method.
returnValue = adsk.core.Polyline2D.createByArray(pointCoordinates)
|
This is a static method.
#include <Core/Geometry/Polyline2D.h>
returnValue = adsk::core::Polyline2D::createByArray(pointCoordinates);
|
Return Value
Parameters
pointCoordinates |
double[] |
An array of floating point values that define the X, Y coordinates of each point in the polyline. |
Version
Introduced in version September 2024