Share

SketchCircles.addByTwoPoints Method

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

Description

Creates a sketch circle where the circle passes through the two points and the distance between the two points is the diameter of the circle.

Syntax

"sketchCircles_var" is a variable referencing a SketchCircles object.
returnValue = sketchCircles_var.addByTwoPoints(pointOne, pointTwo)

Return Value

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

Parameters

Name Type Description
pointOne Point3D A Point3D object that defines a point is sketch space and lies on the x-y plane of the sketch.
pointTwo Point3D A Point3D object that defines a point is sketch space and lies on the x-y plane of the sketch.

Samples

Name Description
SketchCircles.addByTwoPoints Demonstrates the SketchCircles.addByTwoPoints method.
SketchDimensions.addConcentricCicleDimension Demonstrates the SketchDimension.addConcentricCircleDimension method.
SketchDimensions.addDiameterDimension Demonstrates the SketchDimension.addDiameterDimension method.

Version

Introduced in version August 2014

Was this information helpful?