SweepFeatureInput.profileScaling Property

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

Description

Gets and sets the sweep profile scaling option. It defaults to SweepProfileScaleOption. This property is only used when a guide rail has been specified.

Syntax

"sweepFeatureInput_var" is a variable referencing a SweepFeatureInput object.
# Get the value of the property.
propertyValue = sweepFeatureInput_var.profileScaling

# Set the value of the property.
sweepFeatureInput_var.profileScaling = propertyValue
"sweepFeatureInput_var" Is a variable referencing a SweepFeatureInput Object.
#include <Fusion/Features/SweepFeatureInput.h>

// Get the value of the property.
SweepProfileScalingOptions propertyValue = sweepFeatureInput_var->profileScaling();

// Set the value of the property, where value_var is a SweepProfileScalingOptions.
bool returnValue = sweepFeatureInput_var->profileScaling(value_var);
"sweepFeatureInput_var" Is a variable referencing a SweepFeatureInput Object.
// Get the value of the property.
propertyValue = sweepFeatureInput_var.profileScaling;

// Set the value of the property.
sweepFeatureInput_var.profileScaling = propertyValue;

Property Value

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

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.

Two Rail Sweep Feature API Sample

Demonstrates creating new two rail sweep feature.

Before running: No open document is required; the script creates a new design (or additional documents) as it runs.

Version

Introduced in version November 2015