ExtrudeFeatures.addSimple Method
Parent Object:
ExtrudeFeaturesDefined in namespace "adsk::fusion" and the header file is <Fusion/Features/ExtrudeFeatures.h>
Description
Creates a basic extrusion that goes from the profile plane the specified distance.
Syntax
"extrudeFeatures_var" is a variable referencing an ExtrudeFeatures object.returnValue = extrudeFeatures_var.addSimple(profile, distance, operation)
|
"extrudeFeatures_var" is a variable referencing an ExtrudeFeatures object.
#include <Fusion/Features/ExtrudeFeatures.h>
returnValue = extrudeFeatures_var->addSimple(profile, distance, operation);
|
Return Value
ExtrudeFeature |
Returns the newly created ExtrudeFeature or null if the creation failed. |
Parameters
profile |
Base |
The profile argument can be a single Profile, a single planar face, a single SketchText object, or an ObjectCollection consisting of multiple profiles, planar faces, and sketch texts. When an ObjectCollection is used all of the profiles, faces, and sketch texts must be co-planar.
This method can only be used to create solid extrusions. To create a surface extrusion you need to use the add method. |
distance |
ValueInput |
ValueInput object that defines the extrude distance. A positive value extrudes in the positive direction of the sketch plane and negative value is in the opposite direction. |
operation |
FeatureOperations |
The feature operation to perform. |
Samples
Version
Introduced in version January 2017