HoleFeature.setToTappedHole 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 straight or tapered tapped hole of the size specified by the ThreadInfo object.

Syntax

"holeFeature_var" is a variable referencing a HoleFeature object.
returnValue = holeFeature_var.setToTappedHole(threadInfo)
"holeFeature_var" is a variable referencing a HoleFeature object.

#include <Fusion/Features/HoleFeature.h>

returnValue = holeFeature_var->setToTappedHole(threadInfo);

Return Value

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

Parameters

Name Type Description
threadInfo ThreadInfo The ThreadInfo object that specifies the thread to use for the tapped hole. Whether it is straight or tapered tap is defined by the input ThreadInfo object.

Version

Introduced in version September 2025