Features.sweepFeatures Property

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

Description

Returns the collection that provides access to the sweep features within the component and supports the creation of new sweep features.

Syntax

"features_var" is a variable referencing a Features object.
# Get the value of the property.
propertyValue = features_var.sweepFeatures
"features_var" Is a variable referencing a Features Object.
#include <Fusion/Features/Features.h>

// Get the value of the property.
Ptr<SweepFeatures> propertyValue = features_var->sweepFeatures();
"features_var" Is a variable referencing a Features Object.
// Get the value of the property.
propertyValue = features_var.sweepFeatures;

Property Value

This is a read only property whose value is a SweepFeatures.

Samples

Name Description
Sweep with guide rail Feature API Sample

Demonstrates creating a new Sweep feature that uses a guide rail along with a profile.

Before running: Run from Scripts and Add-Ins. This sample may open dialogs or require interactive choices; keep Fusion in the foreground. No open document is required; the script creates a new design (or additional documents) as it runs.

Version

Introduced in version November 2014