CombineFeatures.createInput Method
Parent Object:
CombineFeaturesDefined in namespace "adsk::fusion" and the header file is <Fusion/Features/CombineFeatures.h>
Description
Creates a CombineFeatureInput object. Use properties and methods on this object to define the combine you want to create and then use the Add method, passing in the CombineFeatureInput object.
Syntax
"combineFeatures_var" is a variable referencing a CombineFeatures object.returnValue = combineFeatures_var.createInput(targetBody, toolBodies)
|
"combineFeatures_var" is a variable referencing a CombineFeatures object.
#include <Fusion/Features/CombineFeatures.h>
returnValue = combineFeatures_var->createInput(targetBody, toolBodies);
|
Return Value
CombineFeatureInput |
Returns the newly created CombineFeatureInput object or null if the creation failed. |
Parameters
targetBody |
BRepBody |
A BRep body that represents the blank body. |
toolBodies |
ObjectCollection |
An ObjectCollection containing one or more BRep bodies that represent tool bodies. |
Samples
combineFeatures.add |
Demonstrates the combineFeatures.add method. To use this sample, have a design open that contains at least two bodies. When you run the sample, you will be prompted to select the bodies and they will joined. |
Version
Introduced in version November 2014