ChamferFeatures.createInput2 Method

Parent Object: ChamferFeatures
Defined 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();
"chamferFeatures_var" is a variable referencing a ChamferFeatures object.

returnValue = chamferFeatures_var.createInput2();

Return Value

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

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 December 2020