HoleFeatureInput.setPositionOnEdge Method

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

Description

Defines the position and orientation of the hole to be on the start, end or center of an edge.

Syntax

"holeFeatureInput_var" is a variable referencing a HoleFeatureInput object.
returnValue = holeFeatureInput_var.setPositionOnEdge(planarEntity, edge, position)
"holeFeatureInput_var" is a variable referencing a HoleFeatureInput object.

#include <Fusion/Features/HoleFeatureInput.h>

returnValue = holeFeatureInput_var->setPositionOnEdge(planarEntity, edge, position);

Return Value

Type Description
boolean Returns true if successful.

Parameters

Name Type Description
planarEntity Base The planar BRepFace or ConstructionPlane object that defines the orientation of the hole and start of the hole. The natural direction of the hole will be opposite the normal of the face or construction plane.
edge BRepEdge The edge to position the hole on.
position HoleEdgePositions The position along the edge to place the hole.

Samples

Name Description
holeFeatures.add with Counterbore Demonstrates the holeFeatures.add method using the createCounterboreInput method. The hole is positioned at the center of the selected edge.

Version

Introduced in version August 2014