SweepFeatureInput.profile Property

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

Description

Gets and sets the profiles or planar faces used to define the shape of the sweep. This property can return or be set with a single Profile, a single planar face, or an ObjectCollection consisting of multiple profiles and planar faces. When an ObjectCollection is used all of the profiles and faces must be co-planar.

Syntax

"sweepFeatureInput_var" is a variable referencing a SweepFeatureInput object.

# Get the value of the property.
propertyValue = sweepFeatureInput_var.profile

# Set the value of the property.
sweepFeatureInput_var.profile = propertyValue
"sweepFeatureInput_var" is a variable referencing a SweepFeatureInput object.
#include <Fusion/Features/SweepFeatureInput.h>

// Get the value of the property.
Ptr<Base> propertyValue = sweepFeatureInput_var->profile();

// Set the value of the property, where value_var is a Base.
bool returnValue = sweepFeatureInput_var->profile(value_var);

Property Value

This is a read/write property whose value is a Base.

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.

Version

Introduced in version November 2014