SketchCircle.breakCurve Method

Parent Object: SketchCircle
Defined in namespace "adsk::fusion" and the header file is <Fusion/Sketch/SketchCircle.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

"sketchCircle_var" is a variable referencing a SketchCircle object.
# Uses no optional arguments.
returnValue = sketchCircle_var.breakCurve(segmentPoint)

# Uses optional arguments.
returnValue = sketchCircle_var.breakCurve(segmentPoint, createConstraints)
"sketchCircle_var" is a variable referencing a SketchCircle object.

#include <Fusion/Sketch/SketchCircle.h>

// Uses no optional arguments.
returnValue = sketchCircle_var->breakCurve(segmentPoint);

// Uses optional arguments.
returnValue = sketchCircle_var->breakCurve(segmentPoint, createConstraints);

Return Value

Type Description
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

Name Type Description
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.

Version

Introduced in version August 2014