SweepFeatureInput.orientation Property

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

Description

Gets and sets the sweep orientation. It defaults to PerpendicularOrientationType. This property is ignored when sweeping a solid or a guide rail or surface has been specified.

Syntax

"sweepFeatureInput_var" is a variable referencing a SweepFeatureInput object.

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

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

// Get the value of the property.
SweepOrientationTypes propertyValue = sweepFeatureInput_var->orientation();

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

Property Value

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

Samples

Name Description
sweepFeatures.add Demonstrates the sweepFeatures.add method.

Version

Introduced in version November 2014