ChamferFeatures.createInput2 Method
Parent Object:
ChamferFeaturesDefined in namespace "adsk::fusion" and the header file is <Fusion/Features/ChamferFeatures.h>
Description
Creates a ChamferFeatureInput object. Use properties and methods on this object to define the chamfer you want to create and then use the Add method, passing in the ChamferFeatureInput object.
Syntax
"chamferFeatures_var" is a variable referencing a ChamferFeatures object.returnValue = chamferFeatures_var.createInput2()
|
"chamferFeatures_var" is a variable referencing a ChamferFeatures object.
#include <Fusion/Features/ChamferFeatures.h>
returnValue = chamferFeatures_var->createInput2();
|
Return Value
ChamferFeatureInput |
Returns the newly created ChamferFeatureInput object or null if the creation failed. |
Samples
chamferFeatures.add |
Demonstrates the chamferFeatures.add method. To use this sample have a part open that contains a body. When you run the script, you will be prompted to select an edge to chamfer. |
Equal Distance Chamfer Feature API Sample |
Creates an equal distance chamfer on the selected edge. If there are tangent contiguous edges that will also be included in the chamfer. |
Version
Introduced in version December 2020