LoftFeatures.add Method

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

Description

Creates a new loft feature.

Syntax

"loftFeatures_var" is a variable referencing a LoftFeatures object.
returnValue = loftFeatures_var.add(input)
"loftFeatures_var" is a variable referencing a LoftFeatures object.

#include <Fusion/Features/LoftFeatures.h>

returnValue = loftFeatures_var->add(input);

Return Value

Type Description
LoftFeature Returns the newly created LoftFeature object or null if the creation failed.

Parameters

Name Type Description
input LoftFeatureInput A LoftFeatureInput object that defines the desired loft feature. Use the createInput method to create a new LoftFeatureInput object and then use methods on it (the LoftFeatureInput object) to define the required input.

Samples

Name Description
loftFeatures.add Demonstrates the loftFeatures.add method.
Loft Feature API Sample Demonstrates creating a new loft feature.

Version

Introduced in version August 2016