GeometricConstraints.addConcentric Method

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

Description

Creates a new concentric constraint between two circles, arcs, ellipses, or elliptical arcs.

Syntax

"geometricConstraints_var" is a variable referencing a GeometricConstraints object.
returnValue = geometricConstraints_var.addConcentric(entityOne, entityTwo)
"geometricConstraints_var" is a variable referencing a GeometricConstraints object.

#include <Fusion/Sketch/GeometricConstraints.h>

returnValue = geometricConstraints_var->addConcentric(entityOne, entityTwo);

Return Value

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

Parameters

Name Type Description
entityOne SketchCurve The first circle, arc, ellipse or elliptical arc.
entityTwo SketchCurve The second circle, arc, ellipse or elliptical arc.

Samples

Name Description
GeometricConstraints.addConcentric Demonstrates the GeometricConstraints.addConcentric method.

Version

Introduced in version August 2014