HoleFeature.holeDiameter Property

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

Description

Returns the model parameter controlling the hole diameter. The diameter of the hole can be edited through the returned parameter object.

If there is a thread associated with the hole the thread definition controls the diameter of the hole. Even though there is a parameter for the diameter, it's value is ignored when there is a thread.

Syntax

"holeFeature_var" is a variable referencing a HoleFeature object.

# Get the value of the property.
propertyValue = holeFeature_var.holeDiameter
"holeFeature_var" is a variable referencing a HoleFeature object.
#include <Fusion/Features/HoleFeature.h>

// Get the value of the property.
Ptr<ModelParameter> propertyValue = holeFeature_var->holeDiameter();

Property Value

This is a read only property whose value is a ModelParameter.

Version

Introduced in version August 2014