SketchEllipses.add Method

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

Description

Creates a sketch ellipse using the center point, a point defining the major axis and a third point anywhere along the ellipse. The created ellipse is parallel to the x-y plane of the sketch.

Syntax

"sketchEllipses_var" is a variable referencing a SketchEllipses object.
returnValue = sketchEllipses_var.add(centerPoint, majorAxisPoint, point)
"sketchEllipses_var" is a variable referencing a SketchEllipses object.

#include <Fusion/Sketch/SketchEllipses.h>

returnValue = sketchEllipses_var->add(centerPoint, majorAxisPoint, point);

Return Value

Type Description
SketchEllipse Returns the newly created SketchEllipse object if the creation was successful or null if it failed.

Parameters

Name Type Description
centerPoint Base The center point of the ellipse. This can be either an existing SketchPoint or a Point3D object.
majorAxisPoint Point3D A point3D object that defines both the major axis direction and major axis radius.
point Point3D A point3D object that the ellipse will pass through.

Samples

Name Description
SketchDimensions.AddEllipseMajorRadiusDimension Demonstrates the SketchDimension.addEllipseMajorRadiusDimension method.
SketchDimensions.AddEllipseMinorRadiusDimension Demonstrates the SketchDimension.addEllipseMinorRadiusDimension method.
SketchEllipses.add Demonstrates the SketchEllipses.add method.

Version

Introduced in version August 2014