GeometricConstraints.addCoincident Method

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

Description

Creates a new coincident constraint between two entities. The first argument is a sketch point. The second argument is a sketch curve or point.

Syntax

"geometricConstraints_var" is a variable referencing a GeometricConstraints object.
returnValue = geometricConstraints_var.addCoincident(point, entity)
"geometricConstraints_var" is a variable referencing a GeometricConstraints object.

#include <Fusion/Sketch/GeometricConstraints.h>

returnValue = geometricConstraints_var->addCoincident(point, entity);

Return Value

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

Parameters

Name Type Description
point SketchPoint The SketchPoint that will be made coincident.
entity SketchEntity The SketchPoint or sketch curve that the point will be made coincident to.

Samples

Name Description
GeometricConstraints.addCoincident Demonstrates the GeometricConstraints.addCoincident method.

Version

Introduced in version August 2014