Point3D.create Method

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

Description

Creates a transient 3D point object.

Syntax

This is a static method.

# Uses no optional arguments.
returnValue = adsk.core.Point3D.create()

# Uses optional arguments.
returnValue = adsk.core.Point3D.create(x, y, z)
This is a static method.

#include <Core/Geometry/Point3D.h>

// Uses no optional arguments.
returnValue = adsk::core::Point3D::create();

// Uses optional arguments.
returnValue = adsk::core::Point3D::create(x, y, z);

Return Value

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

Parameters

Name Type Description
x double The x coordinate of the point

This is an optional argument whose default value is 0.0.
y double The y coordinate of the point

This is an optional argument whose default value is 0.0.
z double The z coordinate of the point

This is an optional argument whose default value is 0.0.

Samples

Name Description
Simple Extrusion Sample Creates a new extrusion feature, resulting in a new component.
Simple Revolve Feature Sample Creates a new revolve feature, resulting in a new component.
SketchArcs.addByCenterStartSweep Demonstrates the SketchArcs.addByCenterStartSweep method.
SketchArcs.addByThreePoints Demonstrates the SketchArcs.addByThreePoints method.
SketchArcs.addFillet Demonstrates the SketchArcs.addFillet method.
SketchArcs.breakCurve Demonstrates the SketchArc.breakCurve method.
SketchArcs.extend Demonstrates the SketchArc.extend method.
SketchArcs.trim Demonstrates the SketchArc.trim method.
SketchCircles.addByCenterRadius Demonstrates the SketchCircles.addByCenterRadius method.
SketchCircles.addByThreePoints Demonstrates the SketchCircles.addByThreePoints method.
SketchCircles.addByThreeTangents Demonstrates the SketchCircles.addByThreeTangets method.
SketchCircles.addByTwoPoints Demonstrates the SketchCircles.addByTwoPoints method.
SketchEllipses.add Demonstrates the SketchEllipses.add method.
SketchFittedSplines.add Demonstrates the SketchFittedSplines.add method.
SketchLines.addThreePointRectangle Demonstrates the SketchLines.addThreePointRectangle method.
SketchLines.addTwoPointRectangle Demonstrates the SketchLines.addTwoPointRectangle method.

Version

Introduced in version August 2014