SketchArc.breakCurve Method
Parent Object:
SketchArcDefined in namespace "adsk::fusion" and the header file is <Fusion/Sketch/SketchArc.h>
Description
Breaks a curve into two or three pieces by finding intersections of this curve with all other curves in the sketch and splitting this curve at the nearest intersections to a specified point on the curve.
Syntax
"sketchArc_var" is a variable referencing a SketchArc object.# Uses no optional arguments. returnValue = sketchArc_var.breakCurve(segmentPoint)
# Uses optional arguments. returnValue = sketchArc_var.breakCurve(segmentPoint, createConstraints)
|
"sketchArc_var" is a variable referencing a SketchArc object.
#include <Fusion/Sketch/SketchArc.h>
// Uses no optional arguments. returnValue = sketchArc_var->breakCurve(segmentPoint);
// Uses optional arguments. returnValue = sketchArc_var->breakCurve(segmentPoint, createConstraints);
|
Return Value
ObjectCollection |
All of the curves resulting from the break are returned in an ObjectCollection. In the case where no intersections are found and as a result the curve is not broken, an empty ObjectCollection is returned. |
Parameters
segmentPoint |
Point3D |
A point that specifies the segment of the curve that is to be split from the rest of the curve. The nearest intersection(s) to this point define the break location(s). |
createConstraints |
boolean |
Optional argument that specifies if constraints should be created between the new curve segments. A value of true indicates constraints will be created.
This is an optional argument whose default value is True. |
Samples
Version
Introduced in version August 2014