SketchControlPointSpline.split Method

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

Description

Split a curve at a position specified along the curve

Syntax

"sketchControlPointSpline_var" is a variable referencing a SketchControlPointSpline object.
# Uses no optional arguments.
returnValue = sketchControlPointSpline_var.split(splitPoint)

# Uses optional arguments.
returnValue = sketchControlPointSpline_var.split(splitPoint, createConstraints)
"sketchControlPointSpline_var" is a variable referencing a SketchControlPointSpline object.

#include <Fusion/Sketch/SketchControlPointSpline.h>

// Uses no optional arguments.
returnValue = sketchControlPointSpline_var->split(splitPoint);

// Uses optional arguments.
returnValue = sketchControlPointSpline_var->split(splitPoint, createConstraints);

Return Value

Type Description
ObjectCollection Returns the resulting 2 curves; the original curve + the newly created curve When split spline the original is deleted and two new curves returned. Empty collection returned if curve is closed.

Parameters

Name Type Description
splitPoint Point3D A position (transient Point3D) on the curve that defines the point at which to split the curve
createConstraints boolean Constraints are created by default. Specify false to create no constraints.

This is an optional argument whose default value is True.

Version

Introduced in version July 2022