ConstructionPlanes.add Method

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

Description

Creates and adds a new ConstructionPlane using the creation parameters in the ConstructionPlaneInput.

If the ConstructionPlaneInput was defined using the setByPlane 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

"constructionPlanes_var" is a variable referencing a ConstructionPlanes object.
returnValue = constructionPlanes_var.add(input)
"constructionPlanes_var" is a variable referencing a ConstructionPlanes object.

#include <Fusion/Construction/ConstructionPlanes.h>

returnValue = constructionPlanes_var->add(input);

Return Value

Type Description
ConstructionPlane Returns the newly created construction plane or null if the creation failed.

Parameters

Name Type Description
input ConstructionPlaneInput A ConstructionPlaneInput object

Samples

Name Description
Construction Plane API Sample Demonstrates creating construction plane by different ways.
Loft Feature API Sample Demonstrates creating a new loft feature.

Version

Introduced in version August 2014