SketchCircles.addByCenterRadius Method

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

Description

Creates a sketch circle that is always parallel to the x-y plane of the sketch and is centered at the specified point.

Syntax

"sketchCircles_var" is a variable referencing a SketchCircles object.
returnValue = sketchCircles_var.addByCenterRadius(centerPoint, radius)
"sketchCircles_var" is a variable referencing a SketchCircles object.

#include <Fusion/Sketch/SketchCircles.h>

returnValue = sketchCircles_var->addByCenterRadius(centerPoint, radius);

Return Value

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

Parameters

Name Type Description
centerPoint Base The center point of the circle. It can be an existing SketchPoint or a Point3D object.
radius double The radius of the circle in centimeters.

Samples

Name Description
Create circle by center and radius API Sample Demonstrates creating a sketch circle by the center and radius.
GeometricConstraint.addMidPont Demonstrate the GeometricConstraint.addMidPont method.
GeometricConstraints.addConcentric Demonstrates the GeometricConstraints.addConcentric method.
Loft Feature API Sample Demonstrates creating a new loft feature.
Patch Feature API Sample Demonstrates creating a new patch feature.
Simple Extrusion Sample Creates a new extrusion feature, resulting in a new component.
Simple Revolve Feature Sample Creates a new revolve feature, resulting in a new component.
SketchCircles.addByCenterRadius Demonstrates the SketchCircles.addByCenterRadius method.

Version

Introduced in version August 2014