SweepFeatures.createInputForSolid 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 from a B-Rep solid with a path. 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.createInputForSolid(solidBody, path, operation)
|
"sweepFeatures_var" is a variable referencing a SweepFeatures object.
#include <Fusion/Features/SweepFeatures.h>
returnValue = sweepFeatures_var->createInputForSolid(solidBody, path, operation);
|
Return Value
SweepFeatureInput |
Returns the newly created SweepFeatureInput object or null if the creation fails. |
Parameters
solidBody |
BRepBody |
The BRepBody object to sweep. It must be a solid body. |
path |
Path |
The Path object that defines the path the body will be swept along. |
operation |
FeatureOperations |
The type of feature operation to perform. |
Version
Introduced in version May 2024