Line3D.create Method

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

Description

Creates a transient line.

Syntax

This is a static method.

returnValue = adsk.core.Line3D.create(startPoint, endPoint)
This is a static method.

#include <Core/Geometry/Line3D.h>

returnValue = adsk::core::Line3D::create(startPoint, endPoint);

Return Value

Type Description
Line3D Returns the new Line3D object or null if the creation failed.

Parameters

Name Type Description
startPoint Point3D The start point of the line.
endPoint Point3D The end point of the line.

Version

Introduced in version August 2014