SweepFeature.profile Property

Parent Object: SweepFeature
Defined in namespace "adsk::fusion" and the header file is <Fusion/Features/SweepFeature.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. This property returns nothing in the case where the feature is non-parametric.

To set this property, you need to position the timeline marker to immediately before this feature. This can be accomplished using the following code: thisFeature.timelineObject.rollTo(True)

Syntax

"sweepFeature_var" is a variable referencing a SweepFeature object.

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

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

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

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

Property Value

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

Version

Introduced in version November 2014