HoleFeature.setPositionBySketchPoint Method

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

Description

Redefines the position and orientation of the hole using a sketch point.

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.setPositionBySketchPoint(sketchPoint)
"holeFeature_var" is a variable referencing a HoleFeature object.

#include <Fusion/Features/HoleFeature.h>

returnValue = holeFeature_var->setPositionBySketchPoint(sketchPoint);

Return Value

Type Description
boolean Returns true if successful.

Parameters

Name Type Description
sketchPoint SketchPoint The sketch point that defines the position of the hole. The orientation is inferred from the normal of the point's parent sketch. The natural direction will be opposite the normal of the sketch.

Version

Introduced in version August 2014