HoleFeature.setAllExtent Method

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

Description

Defines the extent of the hole to be through-all. The direction can be either positive, negative.

To use this method, you need to position the timeline marker to immediately before this feature. This can be accomplished using the following code: thisFeature.timelineObject.rollTo(True)

Syntax

"holeFeature_var" is a variable referencing a HoleFeature object.
returnValue = holeFeature_var.setAllExtent(direction)
"holeFeature_var" is a variable referencing a HoleFeature object.

#include <Fusion/Features/HoleFeature.h>

returnValue = holeFeature_var->setAllExtent(direction);

Return Value

Type Description
boolean Returns true if successful.

Parameters

Name Type Description
direction ExtentDirections The direction of the hole relative to the normal of the sketch plane.

Version

Introduced in version August 2014