SketchFittedSpline.extend Method

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

Description

Extend a curve by specifying a point that determines the end of the curve to extend

Syntax

"sketchFittedSpline_var" is a variable referencing a SketchFittedSpline object.
# Uses no optional arguments.
returnValue = sketchFittedSpline_var.extend(endPoint)

# Uses optional arguments.
returnValue = sketchFittedSpline_var.extend(endPoint, createConstraints)
"sketchFittedSpline_var" is a variable referencing a SketchFittedSpline object.

#include <Fusion/Sketch/SketchFittedSpline.h>

// Uses no optional arguments.
returnValue = sketchFittedSpline_var->extend(endPoint);

// Uses optional arguments.
returnValue = sketchFittedSpline_var->extend(endPoint, createConstraints);

Return Value

Type Description
ObjectCollection Returns the modified original curve if the start or end of the curve is extended If the extend joins a curve to another, the two original curves are deleted and a new curve is returned If an arc is extended so as to become a circle, the original arc is deleted and a new circle is returned

Parameters

Name Type Description
endPoint Point3D A point (transient Point3D) on or closest to the end of the curve to extend. (start or end) The end of the curve closest to the endPoint gets extended
createConstraints boolean Constraints are created by default. Specify false to not create constraints.

This is an optional argument whose default value is True.

Version

Introduced in version August 2014