ConstructionAxes.add Method

Parent Object: ConstructionAxes
Defined in namespace "adsk::fusion" and the header file is <Fusion/Construction/ConstructionAxes.h>

Description

Creates and adds a new ConstructionAxis using the creation parameters in the ConstructionAxisInput.

If the ConstructionAxisInput was defined using the setByLine method then the add will only work in a direct edit model (do not capture design history) and will fail in a parametric model.

Syntax

"constructionAxes_var" is a variable referencing a ConstructionAxes object.
returnValue = constructionAxes_var.add(input)
"constructionAxes_var" is a variable referencing a ConstructionAxes object.

#include <Fusion/Construction/ConstructionAxes.h>

returnValue = constructionAxes_var->add(input);

Return Value

Type Description
ConstructionAxis Returns the newly created construction axis or null if the creation failed.

Parameters

Name Type Description
input ConstructionAxisInput A ConstructionAxisInput object

Samples

Name Description
Construction Axis API Sample Demonstrates creating construction axis in various ways.

Version

Introduced in version August 2014