HoleFeature.setPositionBySketchPoints 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 using a set of points.
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.setPositionBySketchPoints(sketchPoints)
|
"holeFeature_var" is a variable referencing a HoleFeature object.
#include <Fusion/Features/HoleFeature.h>
returnValue = holeFeature_var->setPositionBySketchPoints(sketchPoints);
|
Return Value
boolean |
Returns true if successful. |
Parameters
sketchPoints |
ObjectCollection |
A collection of sketch points that defines the positions of the holes. The orientation is inferred from the normal of the point's parent sketch. The natural direction will be opposite the normal of the sketch. All of the points must be in the same sketch. |
Version
Introduced in version June 2015