GeometricConstraints.addSmooth Method

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

Description

Creates a new smooth constraint between two curves. One of the curves must be a spline. The other curve can be a spline or any other type of curve.

Syntax

"geometricConstraints_var" is a variable referencing a GeometricConstraints object.
returnValue = geometricConstraints_var.addSmooth(curveOne, curveTwo)
"geometricConstraints_var" is a variable referencing a GeometricConstraints object.

#include <Fusion/Sketch/GeometricConstraints.h>

returnValue = geometricConstraints_var->addSmooth(curveOne, curveTwo);

Return Value

Type Description
SmoothConstraint Returns the newly created SmoothConstraint object or null if the creation failed.

Parameters

Name Type Description
curveOne SketchCurve The first curve to be constrained to be smooth to the second curve.
curveTwo SketchCurve The second curve to be constrained to be smooth to the first curve.

Samples

Name Description
GeometricConstraints.addSmooth Demonstrate the GeometricConstraints.addSmooth method.

Version

Introduced in version August 2014