HoleFeature.setToClearanceHole Method

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

Description

Sets the hole to be a clearance hole of the size specified by the ClearanceHoleInfo object.

Syntax

"holeFeature_var" is a variable referencing a HoleFeature object.
returnValue = holeFeature_var.setToClearanceHole(clearanceHoleInfo)
"holeFeature_var" is a variable referencing a HoleFeature object.

#include <Fusion/Features/HoleFeature.h>

returnValue = holeFeature_var->setToClearanceHole(clearanceHoleInfo);

Return Value

Type Description
boolean Returns true if setting to a clearance hole was successful.

Parameters

Name Type Description
clearanceHoleInfo ClearanceHoleInfo The ClearanceHoleInfo object that specifies the size of the clearance hole.

Version

Introduced in version September 2025