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 the direct modeling mode and will fail in the parametric modeling mode.

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