Polyline3D.createByArray 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 floating point values that specify the X, Y, Z coordinates for each point.

Syntax

This is a static method.

returnValue = adsk.core.Polyline3D.createByArray(pointCoordinates)
This is a static method.

#include <Core/Geometry/Polyline3D.h>

returnValue = adsk::core::Polyline3D::createByArray(pointCoordinates);

Return Value

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

Parameters

Name Type Description
pointCoordinates double[] An array of floating point values that define the X, Y, Z coordinates of each point in the polyline.

Version

Introduced in version September 2024