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);
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)

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

Demonstrates creates a new extrusion feature, resulting in a new component.

Before running: No open document is required; the script creates a new design (or additional documents) as it runs.

Simple Revolve Feature Sample

Demonstrates creates a new revolve feature, resulting in a new component.

Before running: No open document is required; the script creates a new design (or additional documents) as it runs.

Version

Introduced in version August 2014