ChamferFeatures.add Method

Parent Object: ChamferFeatures
Defined in namespace "adsk::fusion" and the header file is <Fusion/Features/ChamferFeatures.h>

Description

Creates a new chamfer feature.

Syntax

"chamferFeatures_var" is a variable referencing a ChamferFeatures object.

returnValue = chamferFeatures_var.add(input)
"chamferFeatures_var" is a variable referencing a ChamferFeatures object.

#include <Fusion/Features/ChamferFeatures.h>

returnValue = chamferFeatures_var->add(input);
"chamferFeatures_var" is a variable referencing a ChamferFeatures object.

returnValue = chamferFeatures_var.add(input);

Return Value

Type Description
ChamferFeature Returns the newly created ChamferFeature object or null if the creation failed.

Parameters

Name Type Description
input ChamferFeatureInput A ChamferFeatureInput object that defines the desired chamfer. Use the createInput method to create a new ChamferFeatureInput object and then use methods on it (the ChamferFeatureInput object) to define the chamfer.

Samples

Name Description
Equal Distance Chamfer Feature API Sample

Demonstrates creates an equal distance chamfer on the selected edge. If there are tangent contiguous edges that will also be included in the chamfer.

Before running: Run from Scripts and Add-Ins. This sample may open dialogs or require interactive choices; keep Fusion in the foreground.

Version

Introduced in version November 2014