SweepFeatureInput.guideRail Property

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

Description

Gets and sets the guide rail to create the sweep. This can be set to null to remove the guide rail definition and have a single path sweep feature.

Syntax

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

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

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

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

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

Property Value

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

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