SweepFeatures.add Method

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

Description

Creates a new sweep feature.

Syntax

"sweepFeatures_var" is a variable referencing a SweepFeatures object.
returnValue = sweepFeatures_var.add(input)
"sweepFeatures_var" is a variable referencing a SweepFeatures object.

#include <Fusion/Features/SweepFeatures.h>

returnValue = sweepFeatures_var->add(input);

Return Value

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

Parameters

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

Samples

Name Description
sweepFeatures.add Demonstrates the sweepFeatures.add method.
Sweep Feature API Sample Demonstrates creating a new sweep feature.
Sweep with guide rail Feature API Sample Demonstrates creating a new Sweep feature that uses a guide rail along with a profile.
Two Rail Sweep Feature API Sample Demonstrates creating new two rail sweep feature.

Version

Introduced in version November 2014