SketchEllipse.majorAxis Property

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

Description

Gets and sets the major axis direction of the ellipse. Changing the axis is limited by any constraints that might exist on the ellipse. Setting the axis can fail in cases where the direction is fully defined through constraints.

Syntax

"sketchEllipse_var" is a variable referencing a SketchEllipse object.

# Get the value of the property.
propertyValue = sketchEllipse_var.majorAxis

# Set the value of the property.
sketchEllipse_var.majorAxis = propertyValue
"sketchEllipse_var" is a variable referencing a SketchEllipse object.
#include <Fusion/Sketch/SketchEllipse.h>

// Get the value of the property.
Ptr<Vector3D> propertyValue = sketchEllipse_var->majorAxis();

// Set the value of the property, where value_var is a Vector3D.
bool returnValue = sketchEllipse_var->majorAxis(value_var);

Property Value

This is a read/write property whose value is a Vector3D.

Version

Introduced in version August 2014