SweepFeatures.createInput Method
Parent Object:
SweepFeaturesDefined in namespace "adsk::fusion" and the header file is <Fusion/Features/SweepFeatures.h>
Description
Creates a SweepFeatureInput object for defining a simple sweep feature with only a path and no guide rail or surface. Use properties and methods on this object to define the sweep you want to create and then use the Add method, passing in the SweepFeatureInput object.
Syntax
"sweepFeatures_var" is a variable referencing a SweepFeatures object.returnValue = sweepFeatures_var.createInput(profile, path, operation)
|
"sweepFeatures_var" is a variable referencing a SweepFeatures object.
#include <Fusion/Features/SweepFeatures.h>
returnValue = sweepFeatures_var->createInput(profile, path, operation);
|
Return Value
SweepFeatureInput |
Returns the newly created SweepFeatureInput object or null if the creation failed. |
Parameters
profile |
Base |
The profile argument can be 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. |
path |
Path |
The path to create the sweep. |
operation |
FeatureOperations |
The feature operation to perform |
Samples
Version
Introduced in version November 2014