HoleFeature.setPositionOnEdge Method
Parent Object:
HoleFeatureDefined in namespace "adsk::fusion" and the header file is <Fusion/Features/HoleFeature.h>
Description
Redefines the position and orientation of the hole to be on the start, end or center of an edge.
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.setPositionOnEdge(planarEntity, edge, position)
|
"holeFeature_var" is a variable referencing a HoleFeature object.
#include <Fusion/Features/HoleFeature.h>
returnValue = holeFeature_var->setPositionOnEdge(planarEntity, edge, position);
|
Return Value
boolean |
Returns true if successful. |
Parameters
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. |
Version
Introduced in version August 2014