GeometricConstraints.addSmooth Method
Parent Object:
GeometricConstraintsDefined 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
SmoothConstraint |
Returns the newly created SmoothConstraint object or null if the creation failed. |
Parameters
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
Version
Introduced in version August 2014